Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Toggle terminal transparency via AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Toggle terminal transparency via AppleScript
Authored by: markl2 on Aug 13, '04 07:54:51PM
Here is a somewhat improved version of the script:

local alpha
set alpha to 65
-- set between 0 (transparent) and 100 (opaque)

set alpha to (alpha * 65535) / 100

tell application "Terminal"
  local bg
  set bg to background color of window 1
  if number of items of bg = 4 then
    set bg to items 1 thru 3 of bg
  else
    set end of bg to alpha
  end if
  set background color of window 1 to bg
end tell


[ Reply to This | # ]
Toggle terminal transparency via AppleScript
Authored by: Tim_Cox on Sep 02, '04 08:40:45AM

Has anyone actually had any success with this script? It seems to need some work...



[ Reply to This | # ]