Timeline for answer to osascript is not allowed assistive access. (-1728) by bmike
Current License: CC BY-SA 3.0
Post Revisions
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 15, 2020 at 8:04 | history | edited | CommunityBot |
Commonmark migration
|
|
| Nov 25, 2018 at 15:14 | comment | added | clemsam lang |
Try adding also osascript to "Assistive Access" – at least internally, AppleScript treats "osascript" NOT as simply a command but as a process of its own. . . . Paste following code into ScriptEditor: . . . tell application "System Events" to do shell script "osascript -e 'tell application \"System Events\"\n display dialog (items of (name of (every process whose name contains \"sc\") as list) as string)\n end tell'" . . . and you'll see a list of (sadly not "delimetered") processes with "osascript" towards its end.
|
|
| Jul 28, 2017 at 1:34 | comment | added | swrobel |
Unfortunately this doesn't actually work for me with a LaunchAgent, my logs show execution error: System Events got an error: osascript is not allowed assistive access. (-1719) and I don't get prompted by System Preferences to allow assistive access. macOS 10.12.6
|
|
| Jul 21, 2017 at 18:51 | history | answered | bmike♦ | CC BY-SA 3.0 |