applescript no longer working

By luca.filipo... on August 11, 2014 02:17 (imported from Google Code)


The following applescript snippet no longer works after recent upgrade.

tell application "iTerm"
set _term to current terminal
tell _term
set _session to (make new session at the end of sessions)
tell _session
exec command "/bin/sh"
end tell
end tell
end tell

Specifically, (make new session at the end of sessions) fails with

error "iTerm got an error: AppleEvent handler failed." number -10000

Fails with stable 2.0 release and latest nightly build as of this bug submission, using default preferences.


com.googlecode.iterm2.plist

debuglog.txt