iTerm2 doesn't request Automation rights on Mojave when running osascript
- iTerm2 version: Build 3.2.1beta1
- OS version: 10.14 Beta (18A365a)
- Attach ~/Library/Preferences/com.googlecode.iterm2.plist here (drag-drop from finder into this window) com.googlecode.iterm2.plist
- Attach a debug log, if possible. Instructions at https://iterm2.com/debuglog debuglog.txt
Detailed steps to reproduce the problem:
- Run any script that uses AppleScript. Any from https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/osx/osx.plugin.zsh is a good example
What happened:
- iTerm2 doesn't have any permissions to use AppleScript/Automation so the script fails with
execution error: Not authorized to send Apple events to XXX
What should have happened:
- iTerm2 should ask the Automation permissions and the AppleScript should run like expected
Let me know if I can provide any more details.