Type Keystroke/Hotkey Action in Workflow Fails to Execute

New User—any advice welcome.

Situation:

On my Mac, I have two monitors. On each monitor, I use multiple desktops. I use Magnet as a window manager and have global hotkeys set to arrange and move windows (e.g., full screen, half screen, push to next monitor, etc.). In the workflow I am having issues with, I have created a Keyboard Maestro macro to open an application and trigger a hotkey for Magnet to shift the display to the next desktop.

Steps:

  1. Activate Application
  2. Pause Until Application is Running
  3. Type the ⌃Right Arrow Keystroke (the Magnet hotkey I use to shift a display to the next desktop)

Notes:

  • The macro does open the application.
  • The display never shifts to the next desktop
  • Magnet is active. I can manually press ⌃Right Arrow and the display shifts as expected

Am I missing something? Are there other ways I should consider setting this up?

Thank You

Welcome to the forum!

One thing to try is changing the pause in step 2 to Pause Until Application Is At The Front.

1 Like

Thank you! I appreciate the tip.