Odd behavior scripting Terminal's default window
Odd behavior scripting Terminal's default window
- Subject: Odd behavior scripting Terminal's default window
- From: Gnarlodious <email@hidden>
- Date: Thu, 03 Feb 2005 22:00:45 -0700
I'm wondering if there is any rhyme or reason for this.
It seems that when Terminal starts it can't set the window title for the
default window.
Quit Terminal, then say:
tell application "Terminal"
do script "echo 'Terminal launched' "
tell window 1 to set custom title to "Applescript result"
tell window 2 to close
end tell
Is there some way to avoid opening a redundant window just to close it? I
did try:
do script "echo 'Terminal launched' " in front window
however this gives me an unmodifiable window title.
--
Privatizing Social Security; a solution in search of a problem
-- Gnarlodious
_______________________________________________
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