Issue 2926 in iterm2: applescript support is broken since nightly build iTerm2-1_0_0_20140223-nightly

18 views
Skip to first unread message

ite...@googlecode.com

unread,
Mar 11, 2014, 12:00:03 PM3/11/14
to iterm2...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2926 by gign...@gmail.com: applescript support is broken since
nightly build iTerm2-1_0_0_20140223-nightly
http://code.google.com/p/iterm2/issues/detail?id=2926

The nightly builds delivered after build 20140223 broke the apple script
support.

I have a simple apple script that sets background color of the iterm window.

{script}

tell application "iTerm"
tell the current terminal
tell the current session
set background color to {45535, 45535, 0}
end tell
end tell
end tell

{script}

The last time it worked successfully was with build
iTerm2-1_0_0_20140223-nightly. All nightly builds since than have the
following error when I attempt to run the applescript.

{error}
tell i term application "iTerm2"
set background color of current session of current terminal to {45535,
45535, 0}
--> error number -10000
Result:
error "iTerm2 got an error: AppleEvent handler failed." number -10000
{error}

What steps will reproduce the problem?
1. Start iTerm
2. copy paste script into applescript editor
3. execute the apple script

What is the expected output?
I expect the background color of the iTerm window to turn Yellow

What do you see instead?
Applescript execution error: iTerm got an error: AppleEvent handler failed.
(-10000)

What version of iTerm2 are you using?
Build 1.0.0.20140311-nightly

What OS version are you using?
OsX 10.9.2

Please provide any additional information below.


Attachments:
com.googlecode.iterm2.plist 39.0 KB

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

ite...@googlecode.com

unread,
Mar 13, 2014, 3:28:57 AM3/13/14
to iterm2...@googlegroups.com
Updates:
Status: Fixed

Comment #1 on issue 2926 by gnach...@gmail.com: applescript support is
broken since nightly build iTerm2-1_0_0_20140223-nightly
http://code.google.com/p/iterm2/issues/detail?id=2926

Fixed in 666edc7
Reply all
Reply to author
Forward
0 new messages