Is it possible to trigger KM macro from apple script in a non blocking way?

Right now I have a simple script to trigger it like this:

tell application "Keyboard Maestro Engine"

do script "macro1"

end tell

But the apple script just hangs while the macro runs. If I want the applescript to just exit and let the macro run for the next hour. Is this possible?

Yep, enclose your script in:

ignoring  application responses
--- your script
end ignoring
3 Likes