The following script does not change the background image of the current terminal. It sure looks like it should.
---
tell application "iTerm"
tell current terminal
set background image path of its current session to "~/termback.jpg"
end tell
end tell
---
Is there some way to do the equivalent of checking the "use background image" checkbox in the session dialog?
I'm using 0.9.5.0315.
Erik R.
2007-05-02
Test script to save you copying and pasting
fabian
2008-09-11
You need to use the full path, say "/Users/yourname/termback.jpg".
Note there's a bug in the current build that might cause a crash when you resize windows with bg image. It's fixed in the cvs now.
fabian
2008-09-11