Application
OptionalTextThe app to bring to the front first. Empty presses the keys in whatever is in front.
This input offers a picker for app from your connected account. You can also supply its value directly.
Music
Press keys on the Mac, in an app you choose.
First, connect Mac in Services. Then open Actions → + → Mac and choose Trigger Keyboard Shortcut.
Running or testing this action does something on the computer itself.
Brings the application to the front, if one is chosen, then presses the keys with the modifiers held down. Keys is typed as text — a letter for a shortcut, or words — or is one special key by its name: Return, Space, Tab, Escape, Delete, Left Arrow, Right Arrow, Up Arrow or Down Arrow. Needs the Accessibility permission.
Open an input to choose its value. Keep a fixed value with Text, receive it from Shortcuts, ask when the action runs, or use an Earlier Step. Read how input sources work.
The app to bring to the front first. Empty presses the keys in whatever is in front.
This input offers a picker for app from your connected account. You can also supply its value directly.
Music
Keys held down while pressing — Shift, Control, Option, Command, separated by commas.
A list of choice values. Use a comma-separated list.
Choices: Shift, Control, Option, Command
Command, Shift
Text to type — a letter for a shortcut, or words. Or one special key by name: Return, Space, Tab, Escape, Delete, Left Arrow, Right Arrow, Up Arrow, Down Arrow.
n
In the action editor, open Output → Returned Value to choose fields for your shortcut. These are the response fields described by the app; a service may omit an optional field or return an empty list. JSON File contains the full response.
| Returned field | Type | Meaning |
|---|---|---|
done | boolean | True once the Mac has done it. |
If the result is unexpected, open Logs in Shortcutify, select the run, and inspect this step’s inputs and response.
On the computer: osascript · System Events, over a signed-in SSH session. No web request is made.
Action identifier: mac.keyboard-shortcut.v1
No additional per-action permissions are declared in the app’s catalog. The integration’s connection and account access rules still apply.
| Input | Key |
|---|---|
| Application | app |
| Modifiers | modifiers |
| Keys | keys |