How Do I Trigger a Macro from AppleScript?

Thanks! A few years later, but... how can I get an Apple script to trigger an KM Macro?!

The KM wiki tells you all you need to know here

1 Like

THANKS!!
This is going to help me a lot!

1 Like

--APPLESCRIPT RUN KM MACRO

ignoring application responses

tell application "Keyboard Maestro Engine"

-- do script "10DA31DE-5A06-42BA-B79D-635D9850DFCC"

-- or: do script "Mail Compose from FMP to Mail"

do script "10DA31DE-5A06-42BA-B79D-635D9850DFCC" with parameter "empty"

end tell

end ignoring

Your post (and replies) have been moved to a new Topic since you have asked a new question. Please follow this policy in the future.

Thanks!