how do I find out if an application is active?
how do I find out if an application is active?
- Subject: how do I find out if an application is active?
- From: "Jennifer Kolar" <email@hidden>
- Date: Mon, 24 Mar 2003 14:39:25 -0800
Simple newbie question-
I want to have another script that tells that application to quit if it is
actually open..
I have found that just doing
ignoring application responses
tell application "blah" to quit
end ignoring
actually activates the application if it wasn't open!
I know I have seen syntax around along the lines of:
if application "blah" is active then
tell application "blah" to quit
end if
but what I have listed there isn't quite right.. I get an applescript error
on "is active"
can anyone help me w/ the correct syntax?
Thanks
Jennifer
email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.