• 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
MDItemCopyAttribute and kMDItemFinderComment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MDItemCopyAttribute and kMDItemFinderComment


  • Subject: MDItemCopyAttribute and kMDItemFinderComment
  • From: Chris Idou <email@hidden>
  • Date: Tue, 21 Apr 2009 05:04:00 -0700 (PDT)


I've got a program which uses MDItemCopyAttribute to get the kMDItemFinderComment, and I was playing around testing it, by changing
the value in the Finder and seeing if the value changed in my program, and they ended up out of synch. It ends up that mdls returns a different value than xattr -l,
and MDItemCopyAttribute doesn't return the up to date value. Now that its out of synch, updating the value in Finder doesn't get it back in synch.

Is this expected behavior? Should I be using something other than MDItemCopyAttribute to get the most up to date value?


      Enjoy a better web experience. Upgrade to the new Internet Explorer 8 optimised for Yahoo!7. Get it now.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: MDItemCopyAttribute and kMDItemFinderComment
      • From: Michael Tsai <email@hidden>
    • [OT] Re: MDItemCopyAttribute and kMDItemFinderComment
      • From: Alastair Houghton <email@hidden>
  • Prev by Date: Implementing code completion ...
  • Next by Date: Re: Implementing code completion ...
  • Previous by thread: Re: Implementing code completion ...
  • Next by thread: [OT] Re: MDItemCopyAttribute and kMDItemFinderComment
  • Index(es):
    • Date
    • Thread