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