i made a little script that opens a Google translate Page with input from an prompt.
It works well with the hotkey or via the palette. But when i try to run it with applescript
tell application "Keyboard Maestro Engine"
do script "Translate"
it works a single time. If i want to call it again by applescript i get the error "do script found no macros with a matching name". The script still runs via the hotkey or palette but not with the script..
I tried that. At first its shown in the status menu and it works as usualy.
After some time it's no longer shown in the status menu - Thats the point when the macro is no longer triggered by applescript.
Thats very weird, since there is no other macro interfering with it at any time.
i have an hotkey to show some macro palettes, the macro palette with the macro i mentioned shows up aswell.
While its shown the macro runs via applescript. But as soon as the palette is no longer visible the macro cant be triggered through applescript anymore.