ashugg at mac dot com :: sw :: Make Opaque

[ Home | Software ]



(*

"Make Opaque" iTerm script

Description:
Make all iTerm terminals (windows) and tabs (sessions)
opaque by setting the transparency to "0.0".

This is useful for when something very busy is going on
behind iTerm and all the screen redraws are slowing your
Mac down to a crawl. =)

No warranty. Tested with iTerm 0.8.0 but may also work
with other versions.

Written by Andrew Shugg <ashugg@mac.com>
http://homepage.mac.com/ashugg/

Make Opaque.scpt
Last modified: $Date: 2004-08-28 21:20:16 +0800 (Sat, 28 Aug 2004) $

Set iTerm's transparency to 0.0 (opaque). Does not affect the
transparency setting in Preferences. Intended to be placed in
iTerm's Script's folder:

    ~/Library/Application Support/iTerm/Scripts

Released under the same licensing terms as iTerm itself.
iTerm homepage: http://iterm.sf.net/

*)

tell application "iTerm"
    activate
    -- Make a list of all the terminals (windows) to iterate over
    set TerminalList to terminals
    repeat with myTerminal in TerminalList
        -- Make a list of all the sessions (tabs) in this terminal (window) to iterate over
        set SessionList to sessions of myTerminal
        repeat with mySession in SessionList
            tell mySession
                set transparency to "0.0"
            end tell
        end repeat
    end repeat
end tell





[ Home | Software ]




Valid HTML 4.01!

http://homepage.mac.com/ashugg/sw/Make_Opaque.html
Last modified: Tue Aug 31 20:49:45 WST 2004