title: System Events AppleScript
body: <p>I created a program that uses &quot;System Events&quot; and I have lots of error messages when it &quot;runs&quot;. Two error messages 1): &quot;is not allowed to send keystrokes.&quot; and 2): &quot;is not allowed to send keystrokes&quot;, is displayed when the program uses &quot;keystrokes&quot; or &quot;key code&quot; with &quot;System Events&quot;. I have authorized the AppleScript program in the &quot;Security and Privacy&quot; section and error messages always appear. How to solve this problem? Thank you in advance.</p>