Re: Is There No Limit?
Re: Is There No Limit?
- Subject: Re: Is There No Limit?
- From: Shane Stanley <email@hidden>
- Date: Mon, 19 Mar 2012 09:16:06 +1100
On 19/03/2012, at 2:03 AM, Axel Luttgens wrote:
> do shell script "/usr/bin/mdls -raw -name kMDItemFinderComment ~/Desktop/a.txt"
I don't think that command is actually reading the Finder comments. I'm pretty sure the comments live as attributes in the file's resources file, and presumably a Spotlight import filter then reads them into the Spotlight database where can be used for Spotlight searches. So I think what you're seeing is a limitation on either the filter, or (more probably) the Spotlight database.
Try your test again using xattr and a key of com.apple.metadata:kMDItemFinderComment.
--
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