Re: summary: Weird feature of "if it exists" or?
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.