Hey guys, I just wanted to share this new way to integrate dictation. You can skip Automator altogether and just use the "Open URL" command to trigger a KM action.
I couldn’t find an “open URL” command in the Accessibility / Dictation panel, but the “Open Document” command will let you specify a keyboard shortcut to be performed in any application. Just type in a KM shortcut and give it a name to listen for.
Hey, wanted to post here and update this. there is a much easier way of doing this. so I found out there seems to be a much easier way to do it using automator:
Open automator and create a dictation command:
Have it run the following applescript:
on run {input, parameters}
tell application "Keyboard Maestro Engine"
do script "[**insert the name of your macro here**]"
end tell
return input
end run
As shown here:
That's it!
Hope this helps people like me trying to get dictation commands to work!
As an alternate, you can use the macro UUID (menu Edit > Copy as > Copy as UUID) instead of its name.
This will ensure the macro runs even if you change the name later.
For each of ref, you can enter the Macro name in comments.