Good evening everyone. I created a program in AppleScript. In this script, there are keystroke and key code. When the program runs a forbidden access message appears. I authorized the program in Accessible. But nothing is done. What's going on? How to solve this problem. Thank you in advance.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hello everyone. I created a program that uses "System Events" and I have lots of error messages when it "runs". Two error messages 1): "is not allowed to send keystrokes." and 2): "is not allowed to send keystrokes", is displayed when the program uses "keystrokes" or "key code" with "System Events". I have authorized the AppleScript program in the "Security and Privacy" section and error messages always appear. How to solve this problem? Thank you in advance.
Good evening everyone. I can't run a line of JavaScript in AppleScript. Is that normal? It's normal? Thank you in advance.
Hello everyone. I created a program in Applescript. This program acts directly on the Finder drop-down menu. The program "clicks" in the "Off" menu through the hierarchies click menu item "Turn off" of menu 1 of menu bar item "Apple" via tell "Process Finder" of the "System Events" application. When I run the application, a message: "Direct access not available" appears in error. I installed the "Accessibility" authorization of System Preferences but it doesn't help. The curious thing is when I run this program by being a simple script (by clicking on the Execute script arrow) the operation takes place correctly without error. I searched the internet everywhere but to no avail. It's beyond me. Can you help me?