Re: application file id/can't find disk
Re: application file id/can't find disk
- Subject: Re: application file id/can't find disk
- From: jj <email@hidden>
- Date: Mon, 20 Sep 2004 21:29:35 +0200
> On 9/20/04 10:05 AM, "jj" <email@hidden> wrote:
>
>>> There's something wrong - sometimes - with 'application file id' in the
>>> Finder. I can't give a 100% repro, but under some circumstances - one of
>>> which may include having more than one version of an app on your computer -
>>> it stops working for that app.
>>>
>>> At the moment, I can't get
>>>
>>> tell app "Finder" to get application file id "OPIM"
>>> --> Finder got an error: Can't get application file id "OPIM".
>>
>> What are your results with:
>>
>> application file id "com.microsoft.Entourage"
>
> Strangely enough - given that Entourage is not a package or bundle, and thus
> has no CFBundleIdentifier key in any apparent location, but is just a
> regular Carbon APPL file - that actually works. Thank you.
>
> So - how is it that its creator code is not registered anywhere (but you get
> "OPIM" as the creator code of the application file in the Finder or as file
> creator in 'info for' without problem) but "com.microsoft.Entourage" is
> registered?
>
> Anyone?
I don't know, but I encountered the same problem asking for Flash, after
upgrading to 7.2, and I fixed it asking for its CFBundleIdentifier -or,
well, the creator type- instead of its CFBundleSignature, as I was doing
before.
BTW, you can find Entourage's CFBundleIdentifier into the "plst" resource,
which is the one read by Mac OS X (by LaunchServices?). If it doesn't find
such resource, I think it will use "old" ways: BNDL, file-type,
creator-code. But this is pure speculation.
tell application "Finder" to application file id "com.microsoft.Entourage"
as text
load resource 0 type "plst" from result as string
jj
--
http://www.macscripter.net/
http://www.osaxen.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden