Re: query if application is open
Re: query if application is open
- Subject: Re: query if application is open
- From: Michelle Steiner <email@hidden>
- Date: Wed, 21 Feb 2007 16:06:57 -0700
On Feb 21, 2007, at 3:59 PM, Jacob Eggers wrote:
How do you check to see if an application is currently running? I
wan to
check to see if iTunes is playing and am using
The following script will return true if iTunes is running
tell application "System Events"
(application processes whose name is "iTunes") is not {}
end tell
-- Michelle
--
I am a pseudomasochist.. I like it when people pretend to beat me.
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden