• 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: 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

  • Follow-Ups:
    • Re: Is There No Limit?
      • From: Ron Hunsinger <email@hidden>
References: 
 >Is There No Limit? (From: Luther Fuller <email@hidden>)
 >Re: Is There No Limit? (From: Axel Luttgens <email@hidden>)
 >Re: Is There No Limit? (From: Shane Stanley <email@hidden>)
 >Re: Is There No Limit? (From: Axel Luttgens <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