Here's what I saw, after I set that up in IntelliJ:
You must allow `bbedit` to send events to the BBEdit application.
Use `tccutil reset AppleEvents` to reset the system's permissions, and try again.
bbedit: error: -1743
I don't want to "reset the system's permissions", even if only for AppleEvents.
So here's what I did instead:
- Within IntelliJ, open a Terminal pane / tab.
- At that terminal prompt, paste something like this:
- osascript -e 'tell application "BBEdit" to set position of every window to {0, 44}'
- (Yes that's ugly - it was a handy "innocuous" AppleEvent -- which did the job.)
- And execute it. (ex: Press Return.)
- Click "OK" to allow IntelliJ to send AppleEvents to BBEdit.
To see the effect this has had:
- Open System Preferences.
- Select Security & Privacy.
- Scroll down & select Automation.
- IntelliJ is now listed, with the permission to control the BBEdit app.
- Which you also have likely also allowed, for the Terminal app.
Background:
No comments:
Post a Comment