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: nwfrg on Aug 13, '04 01:21:08PM
I don't use the tranparency option but I like to change the background color of Terminal. It helps me keep track of what server I'm working on when I have several Terminal windows open. I use a one line shell script to trigger a change:
osascript -e 'tell front window of app "Terminal" to set background color to {21331,1028,4369}'
I saved this as a shell script called "red" and I activate it from the comand line like this:

I would like to put it in my .tcshrc file as an alias but I've not been able to work around the quoting and escaping issues. I got the RGB color codes (21331,1028,4369) using Digital Color which is in the utilities folder.

[ Reply to This | # ]
Toggle terminal transparency via AppleScript
Authored by: dreness on Aug 14, '04 02:43:03PM

In my case, the shell in question is zsh, but you can probably adapt it for the shell of your choice. If you have specific questions, it's probably best to email me, since I don't watch these forums that often.

[ Reply to This | # ]