logoalt Hacker News

alin23yesterday at 7:23 PM1 replyview on HN

There are some things that are only available in Shortcuts because Apple gave the app entitlements to communicate with parts of the system that an AppleScript or other apps can't. Things like setting/getting the Focus Mode, changing some system settings like Airdrop Receiving, Color Filters, Background Sounds etc.

Also some apps export Shortcut actions that can run in-app code: for example my Lunar app has an action that can help fixing arrangement when monitors flip around [1]

It's much easier to implement a struct for a Shortcut, than exporting AppleScript sdef files or creating IPC command-line tools, so a lot of apps take this route for code that needs access to the memory of the running app.

[1] https://lunar.fyi/shortcuts#fix-monitor-arrangement


Replies

_doctor_loveyesterday at 8:39 PM

I didn't realize you were the Lunar guy! I freaking love your apps! Thank you for making good and useful software.

Being able to adjust my monitor brightness during the pandemic actively changed my quality of life for the better (I was in a small SF apartment).

show 1 reply