That's exactly what I was looking for - thank you very much! Rainer
On Apr 28, 2010, at 0:08 , Jean-Daniel Dupas wrote: > > Le 28 avr. 2010 à 02:14, Rainer Standke a écrit : > >> Hello, >> >> is there a way to get to the finder label of a file from Cocoa? I'd like to >> be able to get & set them. > > To get and set it, you can probably use the NSURLLabelNumberKey property > (introduced in 10.6) and the URL Resource API: > > - (BOOL)getResourceValue:(id *)valueforKey:(NSString *)keyerror:(NSError > **)error > - (BOOL)setResourceValue:(id)value forKey:(NSString *)key error:(NSError > **)error > > > -- Jean-Daniel > > > > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com