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

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


  • Subject: Re: summary: Weird feature of "if it exists" or?
  • From: Walter Ian Kaye <email@hidden>
  • Date: Mon, 15 Sep 2003 04:32:45 -0700

At 10:16p -0600 09/14/2003, Robert Poland didst inscribe upon an electronic papyrus:

Thanks to julifos <email@hidden> the script works.

try -- if not installed, don't error
tell application "Finder" to get application file id "Seti"
--> is the app already running?
tell application "Finder" to name of processes contains "SETI@home_OSX"

You can use the creator type there, too:

tell app "System Events" to exists process 1 whose creator type is "Seti"


I think it's weird that 'application file id' still belongs to the Finder.
Doesn't Finder get it from Launch Services now? Is Finder an "LS portal"?
Shouldn't we be able to access LS w/o the Finder?


-boo
_______________________________________________
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: 
 >summary: Weird feature of "if it exists" or? (From: Robert Poland <email@hidden>)

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