System Events got an error: Automator Workflow Runner WorkflowServiceRunner, Short Date does not have permission to send keystrokes."

Hi,


I'm trying to create a shortcut to paste the systemdate in all types of app's (Word, Teksteditor, Mail, etc). I Used the following AppleScript:


on run {input, parameters}


set _date to short date string of (current date)


tell application "System Events"


keystroke _date


end tell


end run


Now I get the error that Short Date does not have permission to send keystrokes. I tried solving it by adding Automator and Applescript to the security settings.


MacBook

Posted on Jul 13, 2021 11:37 PM

Reply

Similar questions

1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

System Events got an error: Automator Workflow Runner WorkflowServiceRunner, Short Date does not have permission to send keystrokes."

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.