• 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: Weird feature of "if it exists" or?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weird feature of "if it exists" or?


  • Subject: Re: Weird feature of "if it exists" or?
  • From: Emmanuel <email@hidden>
  • Date: Sun, 14 Sep 2003 22:21:46 +0200

At 7:57 AM -0600 14/09/03, Robert Poland wrote:
>What I'm trying to do is run "SETI@home_OSX" if
>it exists and ignore it if it doesn't.

Does that application have a creator?

If it has, I think that your script should first of all test for:

--------------------------
tell application "Finder" to get application file id "XXXX"
--------------------------

then you know whether the app is there or not and you can decide whether you look for it in the processes and so on.

Emmanuel
_______________________________________________
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.

References: 
 >Weird feature of "if it exists" or? (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Finding and deleting specific extensions.
  • Next by Date: Re: Weird feature of "if it exists" or?
  • Previous by thread: Weird feature of "if it exists" or?
  • Next by thread: Re: Weird feature of "if it exists" or?
  • Index(es):
    • Date
    • Thread