Re: Simple newbie question
Re: Simple newbie question
- Subject: Re: Simple newbie question
- From: Michelle Steiner <email@hidden>
- Date: Tue, 13 May 2008 06:29:32 -0700
On May 12, 2008, at 11:58 PM, ba95 wrote:
-- define app1 and app2
tell application "Finder"
try
if "App1" is not in (get every process) then
open application app1
open application App2
else
quit application app1
quit application App2
end if
end try
end tell
--
Thanks a lot Michelle.
Unfortunately the script does not work here.
Launching time: only "App1" is opened
Quiting time: nothing happens.
I just noticed an error in the script; there shouldn't be quotes
around "app1" in the "if" line.
-- Michelle
--
I am Dyslexic of Borg. Fusistance is retile. Your ass will be laminated.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden