Re: Odd behavior scripting Terminal's default window
Re: Odd behavior scripting Terminal's default window
- Subject: Re: Odd behavior scripting Terminal's default window
- From: Martin Orpen <email@hidden>
- Date: Fri, 04 Feb 2005 08:35:44 +0000
on 4/2/05 5:00 am, Gnarlodious wrote:
> It seems that when Terminal starts it can't set the window title for the
> default window.
It can, but you have to allow Terminal to finish doing whatever it is that
it needs to do on launch:
tell application "Terminal"
do script "echo 'Terminal launched'" in window 1
delay 1
set name of window 1 to "Applescript result"
end tell
Or activate, delay and then do the command.
Dunno about "custom title" bit - that doesn't work for me (apart from
entering the string into the Window Prefs...).
--
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