Re: Application file by ID
Re: Application file by ID
- Subject: Re: Application file by ID
- From: Peter Bunn <email@hidden>
- Date: Tue, 6 Aug 2002 10:46:48 -0500
On Monday 8/5, Reinhold Penner wrote:
>
I have been using the following to get the path of an application:
>
tell application "Finder" to set chimeraPath to POSIX path of
>
((application file id "ttxt") as string)
>
This works just fine on all of my Macs. However, some people have
>
reported that this does not work for them, although they supposedly have
>
AS 1.8.3 installed. Can someone shed light on why it works for some and
>
not for others?
This may or may not be a partial answer to your question... and is based
on a very limited understanding.
Some 'native' OS X apps no longer have creator types. A single case in
point, a Java application which has a legit creator type in 'Classic',
returns "????" as the creator in OS X.
Someone here on the list mentioned there may be a new way to achieve
effectively the same thing by referencing a 'bundle id'... but didn't
elaborate and the thread died.
I'd be interested in the alternative route myself if anyone knows about
it.
Peter B.
-----
_______________________________________________
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.