You can run any of your macOS Shortcuts from a control. This is a free feature. For the basics of adding a control, see Build your first deck.
Set a Shortcut as the action
- On the Mac, open the menu-bar popover and choose
Edit decks…. - Add a control, or select one you already have.
- In the action picker, choose the
Shortcutsource. - Pick one of your macOS Shortcuts from the list.
When you use the control, Treadle runs the Shortcut with shortcuts run.
Add new Shortcuts in Apple's app
You build and edit Shortcuts in Apple's Shortcuts app, not in Treadle. When you add a new Shortcut there, it becomes available in Treadle's picker. You do not need to change anything else in Treadle.
Why Shortcuts are a good fit
- They are free to use from Treadle.
- They let you combine several steps into one control.
- They keep the logic in Apple's app, where you can test it on its own.
If a Shortcut control does nothing, check that the Shortcut runs on its own in the Shortcuts app, and that Treadle has the permissions it needs. See A button does nothing when I press it and permissions.
If you need something Shortcuts cannot do, you can write your own command, which is a paid feature.