Re: Is There No Limit?
Re: Is There No Limit?
- Subject: Re: Is There No Limit?
- From: Shane Stanley <email@hidden>
- Date: Tue, 20 Mar 2012 09:17:52 +1100
On 20/03/2012, at 4:51 AM, Axel Luttgens wrote:
> When setting an item's comment through the Finder (with the help of the information window or by script), it seems that the following happens (since Leopard?):
>
> - the Finder creates or rewrites the corresponding extended attribute through the fsetxattr() call,
> - the Finder creates or rewrites an entry in the relevant .DS_Store file
That's more along the lines I thought.
>
> When retrieving an item's comment, the Finder mainly looks in the .DS_Store file, but never tries to read the item's extended attribute.
> As a result, deleting the .DS_Store file and restarting the Finder (to avoid cached data) will display or return an empty Finder comment, even if the kMDItemFinderComment is still present. From the Finder's point of view, the comment is lost.
Interesting, thanks. I wonder whether rebuilding the Spotlight db would bring the comment back.
--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
_______________________________________________
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