Re: New window in Terminal.app(Applescript-users Digest, Vol 2, Issue 67)
Re: New window in Terminal.app(Applescript-users Digest, Vol 2, Issue 67)
- Subject: Re: New window in Terminal.app(Applescript-users Digest, Vol 2, Issue 67)
- From: Gnarlodious <email@hidden>
- Date: Sun, 30 Jan 2005 11:15:41 -0700
Entity Jonathan Levi, M.D. spoke thus:
> tell application "System Events" to set terminalOn to (exists process
> "Terminal")
> if (terminalOn) then
> tell application "Terminal" to do script "date"
> else
> tell application "Terminal" to do script "date" in front window
> end if
That's better, thanks, Doc!
-- Gnarlie
Private Social Security accounts; A solution in search of a problem
_______________________________________________
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