• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: query if application is open
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >query if application is open (From: "Jacob Eggers" <email@hidden>)
 >Re: query if application is open (From: Michelle Steiner <email@hidden>)
 >Re: query if application is open (From: kai <email@hidden>)
 >Re: query if application is open (From: "Jacob Eggers" <email@hidden>)
 >Re: query if application is open (From: Luther Fuller <email@hidden>)
 >Re: query if application is open (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Looking for AppleScripters willing to hel p Š
  • Next by Date: Set pointer from 'item tool' to 'content tool'
  • Previous by thread: Re: query if application is open
  • Next by thread: Re: query if application is open
  • Index(es):
    • Date
    • Thread