query if application is open
query if application is open
- Subject: query if application is open
- From: "Jacob Eggers" <email@hidden>
- Date: Wed, 21 Feb 2007 17:59:20 -0500
Hey all,
I know there's a simple answer to my question, but I can't seem to find it anywhere on the web.
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
tell application "iTunes"
if player state is playing then
--do this
end if
end tell
but, if iTunes isn't open, it'll first open the player.
I apologize for my ignorance,
j
_______________________________________________
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