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 23:37:05 +0200
> On 9/20/04 1:22 PM, "Joshua See" <email@hidden> wrote:
>
>>> But I suspect that the info identifying apps and their file locations
>>> are
>>> buried somewhere in the file system itself, not in text files. It
>>> would be
>>> good to know.
>> This has come up on the list before in a different contexts. In
>> nonbundled OS X savvy (read: Carbon) apps, there is a properties list
>> in the resource fork with the key. Its text in a single item resource
>> named 'plis', but written in XML like a plist file.
>
> Hmmm. I didn't recall that. I happen to have MacResourceDog which can
> inspect the resource fork, but it can only read, or decipher, a few of the
> resources, mostly strings (like error messages) and icons. All it can show
> of the plst resource is a lot of hex data. Is there another utility which
> can read it as XML or text?
Yes:
#################################
tell application "Finder" to application file id "com.microsoft.Entourage"
as text
load resource 0 type "plst" from result as string
#################################
This requires Satimage, but I'm sure you own it. ;-)
jj
> --
> Paul Berkowitz
--
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