Skip to content

Open Application

The Open Application action launches a macOS app. Use it at the start of a macro to make sure the target app is running, or mid-macro to switch contexts. You can also set the initial size and position of the app’s window.

In the + Add Action menu, Open Application lives under Environment. It opens an app whose path you’ve selected, and optionally moves and resizes its window once it’s open.

If the app is already running, Open Application brings it to the front instead of launching a second instance – the standard macOS open behavior.

  1. Click + Add Action → Open Application.
  2. In the App section, click Browse… and pick the app from /Applications (or anywhere on disk). The action stores the app’s path. You can also type or edit the path directly in the field.
  3. (Optional) Set Window width and Window height to size the app’s initial window.
  4. (Optional) Set Window X and Window Y to position the initial window.
  5. Save.

If you leave the size and position fields empty, the app opens with whatever default the app itself chooses.

OptionWhat it doesDefault
App pathPath to the app bundle (e.g. /Applications/Safari.app). Has a Text / Expression switch: Text inserts {name} variables into a literal path, Expression evaluates JavaScript.–
Window widthThe width to assign to the app’s initial window in pixels. Fixed number or number expression.Empty
Window heightThe height to assign to the app’s initial window in pixels. Fixed number or number expression.Empty
Window XThe X coordinate to move the initial window to. Fixed number or number expression.Empty
Window YThe Y coordinate to move the initial window to. Fixed number or number expression.Empty

All four window fields are independent – you can set just width and height, just position, or any combination.

  • The action waits for macOS to acknowledge the launch, but it does not wait for the app to be ready to receive input. Always follow with a Wait or a Find Image / Find Text action to confirm the app’s UI is up before you start clicking into it.
  • App path is stored, not the app’s name. If you move or rename the .app bundle, the action breaks. The fix is to edit the action and pick the app again – its path will be re-stored.
  • App path has a Text / Expression switch. In Text mode you keep a literal path and can drop a variable in with {name}; switch to Expression to build the path with JavaScript. Either way the resolved value must still point to a valid .app bundle at playback time. See Text mode vs Expression mode.
  • Window geometry expressions resolve after launch. If width, height, X, or Y reference variables, the current values at that moment in playback are used.
  • Window size and position apply once, right after the launch. They don’t enforce the window stays at that size – the user (or the app) can move it freely afterwards. Use Resize and Reposition Window as separate actions if you need to enforce a layout later in the macro.
  • If the app is already running, the size and position fields are still applied to whichever window the app brings to the front.
  • Apps that don’t have a single “main window” (some menu-bar apps, system services) may ignore the size and position fields. There’s no way for ClicKey to know in advance which apps do.
  • The path must be a valid macOS app bundle, ending in .app. Pointing at a regular binary or a folder won’t work.
  • You can’t pass command-line arguments to the app through this action. For that, use macOS’s own open -a from the Terminal as a separate workflow.
  • Open Application doesn’t require Screen Recording permission, only Accessibility – but most macros that use Open Application also use actions that do.
  • Resize and Reposition Window – move or resize an already-open window mid-macro.
  • Window Anchors – what tells playback which window each click belongs to once the app is open.
  • Wait – give the launched app a moment before you interact with it.
  • Find Image – wait until a known UI element of the app is on screen.
  • Find Text – wait until specific text appears in the app.
  • The Pre-Playback Window Check – confirms windows are open before the macro starts; Open Application is the right tool to add when the check fails because an app wasn’t running.