Since OSX Mavericks supports file tags. Is there any API to access these programmatically? How can I get a list of all system tags? And manipulate them?
I tried already:
yet none of those mention the existance of tags.
You can find all system tags in this path:
~/Library/SyncedPreferences/com.apple.finder.plist
But the default the plist file doesn't exist. You can make it appear by adding a new tag. By the way, do you find other way to get all system tags?
Don't know whether this is what you are looking for:
see this thread for adding tags programmatically How can I add OS X "tags" to files programmatically?
also if you look at the NSURL reources page http://goo.gl/fwHMWk it says about getting names of tags attached to the resource, returned as an array of NSString values using the NSURLTagNamesKey.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With