Re: Inconsistency
Re: Inconsistency
- Subject: Re: Inconsistency
- From: Luther Fuller <email@hidden>
- Date: Wed, 20 Jan 2010 10:24:29 -0600
On Jan 19, 2010, at 5:32 PM, Paul Scott wrote:
> There is likely a resource fork attached to one of the files. Use the xattr command to display the meta data.
>
> xattr -l file
>
> To get help on xattr type
>
> xattr -h
I tried xattr via the Terminal, but didn't find anything useful. And none of my man page readers list xattr as an available command. Using mdls gives more information, but again, not anything useful in this situation.
Then, I remembered, from a few weeks ago, finding an interesting metadata constant, so I searched ...
And found the document "MDItemRef.pdf", which contains ...
kMDItemCreator
Application used to create the document content (e.g. "Word", "AppleWorks", etc.). A CFString. Available in Mac OS X v10.4 and later. Declared in MDItem.h.
This ought to tell the system which application to use to open a document. Alas, I have looked at the metadata of many documents and none of them contain the constant 'kMDItemCreator'.
For example, a document created by ASE should be identified with its CFBundleIdentifier and have metadata containing ...
kMDItemCreator = com.apple.ScriptEditor2
This seems to be an unimplemented feature. ?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden