Hotkey to Relaunch KM Engine

I want to create a hotkey that will quit & relaunch the KM engine, as shown in the screenshot below. Unfortunately, I can't find the actual engine app in the list of apps, even if I do a search after selecting "Other". Is there a work-around for this?


You obviously can't use KM to do this, since once the KM Engine quits it cannot be used to start itself.

To restart the KM Engine automatically, you will need to use a script:

property ptyScriptName : "Restart KM Engine"
property ptyScriptVer : "1.0"
property ptyScriptDate : "2019-12-29 06:43"
property ptyScriptAuthor : "JMichaelTX"

tell application "Keyboard Maestro Engine" to reload

Paste this into the Script Editor, compile, and save to the AppleScript Scripts Folder:

You can then run this from the AppleScript Scripts Menu.
If you want to assign a hot key to this script, you can use FastScripts .


OH! Duh, that makes sense. :laughing: Thank you.

1 Like

Running Mojave here
I've copied that script into Script Editor, and tried to run it from the Editor as well as save as an application and run it by double clicking. Doesn't appear to quit KM Engine.

Anything I might be missing?

It does NOT just do a quit. It does a reload, which is the same as a quit and launch.

If you want to just quit, change "reload" to "quit".
Or just use the KM Status menu.

Okay thanks!