by Devin Yang
(This article was automatically translated.)

Published - 5 years ago ( Updated - 5 years ago )

I wrote a Python program, which will use AppleScript when running, and I pressed "Not Allowed".

As a result, it was GG.

Regarding the -1743 error
40:89: execution error: Not authorized to send Apple Events to System Events. (-1743)

How can it no longer be executed...
As a solution, on the terminal, enter the command below to reset to re-authorize.
tccutil reset AppleEvents

Tags: MacOs

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


MacOS

How do I compile tree instructions on MacOS?

I believe that Linux users have probably used the tree command. We can directly install the tree command through homebrew. But if we want to compile and install by ourselves, how should we do it? This article introduces how to compile tree instructions and install on your own MacOS.  

MacOS

How to disable IPV6 functionality on a specific device in MacOS

How to disable or enable IPV6 on your own MacOS, you can use networksetup -listallnetworkservices to list all MacOS network devices, and then execute the disable command.

linux,macos

PS aux will you?

For Linux system administrators, you must understand the ps aux command. If you want to be a Linux system administrator, or you are a Linux user, you should understand this command. ps is process status For short, anyone can find out what kind of program is running on the system and how the status is executed through this command. I saw some programs that should not appear, maybe the system was hacked and used to mine🥹