Scripting: cannot get the current session from the current tab of the current window
By daring.fum... on September 29, 2014 18:41 (imported from Google Code)
What steps will reproduce the problem?
-
Run the following script with AppleScript Editor with a terminal window open:
tell application "iTerm" to get current session of current tab of current window
What is the expected output?
A reference to the current session
What do you see instead?
An error:
error "iTerm got an error: Can’t get current session of current tab of current window." number -1728 from current session of current tab of current window
What version of iTerm2 are you using?
Build 2.9.20140927-nightly
What OS version are you using?
OS X 10.9.4