Re: New window in Terminal.app
Re: New window in Terminal.app
- Subject: Re: New window in Terminal.app
- From: Martin Orpen <email@hidden>
- Date: Fri, 28 Jan 2005 22:52:22 +0000
on 28/1/05 8:20 pm, Doug McNutt wrote:
> osascript -e 'tell application "Terminal" to do script ""' # Open a window
> # works fine opening a new window in the front which it names "tcsh".
Window Settings... => Window - uncheck "Active Process Name"
Then every window will be called "Terminal".
And if you find that boring you can use this to spice up the display:
set myColours to {"red", "green", "blue", "cyan", ¬
"magenta", "yellow", "purple", "black"}
tell application "Terminal"
set foo to window 1
repeat 10 times
set background color of foo to ¬
(contents of (some item of myColours))
set normal text color of foo to ¬
(contents of (some item of myColours))
delay 1
end repeat
end tell
And if you're really picky about colours you can use 16-bit RGB values.
--
Martin Orpen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden