by Devin Yang
(This article was automatically translated.)

Published - 6 years ago ( Updated - 6 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

About ditto instructions on MacOS

The ditto command appeared in Mac OS X (10.0) for the first time. In some cases, it is more intuitive than the cp command. Those who are interested can study and test it by themselves. Assuming that there is an envs folder in my directory, my test is as follows:

Emoji, MacOS

⌘+control+blank (Emoji on Mac)

⌘+control+blank (Emoji on Mac)

cli,linux,macos

How to use find to delete old files based on the creation time

This function is very useful, but be very careful, read it first and then delete it, if you make a wrong directory, you will die miserably