In this guide

Trigger Keyboard Shortcut

Press keys on the Mac, in an app you choose.

Action referenceChange

What this action does #

First, connect Mac in Services. Then open Actions → + → Mac and choose Trigger Keyboard Shortcut.

What a run does

Running or testing this action does something on the computer itself.

More about this action

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.

Inputs to fill in #

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.

Application

OptionalText

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.

Example value (replace with your own):
Music

Modifiers

OptionalList

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

Example value (replace with your own):
Command, Shift

Keys

RequiredText

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.

Example value (replace with your own):
n

What comes back #

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 fieldTypeMeaning
donebooleanTrue once the Mac has done it.

Run it from Shortcuts #

  1. Give the action a recognizable name and tap Save.
  2. In Apple Shortcuts, add Shortcutify’s Execute Action and select the saved action.
  3. Supply any Param or File slots you bound in the inputs, then run the shortcut.

If the result is unexpected, open Logs in Shortcutify, select the run, and inspect this step’s inputs and response.

Advanced reference #

Request, permissions, and identifiers

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.

InputKey
Applicationapp
Modifiersmodifiers
Keyskeys

Mac setup reference