• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is There No Limit?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Is There No Limit?
      • From: Luther Fuller <email@hidden>
    • Re: Is There No Limit?
      • From: Axel Luttgens <email@hidden>
References: 
 >Is There No Limit? (From: Luther Fuller <email@hidden>)
 >Re: Is There No Limit? (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: Is There No Limit?
  • Next by Date: Re: Is There No Limit?
  • Previous by thread: Re: Is There No Limit?
  • Next by thread: Re: Is There No Limit?
  • Index(es):
    • Date
    • Thread