1

I'm unable to get Dictation to run the keypress portion of a workflow. I've tried recording a keystroke in Automator, and manually writing an AppleScript (with both key code and keystroke commands); they always work when I run them from Automator, but not from Dictation.

I know the scripts are running because if I put another command into the script, it will perform it when I speak the Dictation keyword.

Edit: After more experimenting I've found that AppleScripts in the DictationServices Workflow's folder will execute commands that don't work in scripts saved to other locations.

1

I finally got an error message which answered my question: com.automator.runner.xpc is not allowed to send keystrokes.

  • Maybe you could grant it access to Accessibilty – New Alexandria Jun 22 at 18:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .