2 Replies
      Latest reply on Oct 21, 2015 9:19 AM by Germanotto
      JacobGorban Level 1 Level 1 (0 points)

        Anyone has any idea why for some files, when double-clicked in Finder, Spotlight will set kMDItemLastUsedDate to the correct value and for some other files, even in the same folder and opened using the same application (such as preview) it won’t. It can be verified by setting the "All My Files” view in Finder to be sorted by “Date Last Opened”. Add the column, if needed.


        I ask about Finder but in my application I use an NSMetadataQuery to collect the same information and my code detects the same files as Finder.