Re: query if application is open
Re: query if application is open
- Subject: Re: query if application is open
- From: Jakob Peterhänsel <email@hidden>
- Date: Thu, 22 Feb 2007 10:15:58 +0100
AND the Finder is NOT threaded, so it might stall the scrip if it's
doing something else, like copying stuff...
Really, avoid the Finder if System Events can do it too!
Jakob Peterhänsel
"Be a part of the Love Generation - carry a smile, not a gun."
- JP, May 2006
Email: email@hidden
AIM: Marook
Phone: +45 29687104
On 22/02/2007, at 4.06, Michelle Steiner wrote:
On Feb 21, 2007, at 6:20 PM, Luther Fuller wrote:
Don't forget, the Finder can do that too! Run this one-liner:
tell application "Finder" to if (name of every process) contains
"iTunes" then beep
I believe that the official word from Apple is that if you can
script both the finder and system events to do something, use
system events because the finder may not always have that
functionality.
-- Michelle
--
"Colorless green ideas sleep furiously."
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
40hjemme.dk
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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