PDA

View Full Version : Spotlight, how to associate metadata with every file and folder.




idrise
Jan 15, 2009, 05:58 AM
I am designing an application which needs to associate a small amount of metadata with every file and folder in a specified set of folders.

Before I re-invent the wheel is there a way using spotlight or another built-in library to access and store this kind of data ?

Thanks,

Dave.
tags : spotlight file system



kainjow
Jan 20, 2009, 02:27 PM
Yes, there is a Cocoa API and I believe you can do it in AppleScript. Google could probably tell you more ;)

swiftaw
Jan 20, 2009, 02:30 PM
http://www.macosxhints.com/article.php?story=20050508111303465