Getting an application's creator code
Getting an application's creator code
- Subject: Getting an application's creator code
- From: Philippe Martin <email@hidden>
- Date: Wed, 3 Jul 2002 16:38:37 +0200
Hi,
I'm trying to get the creator code of an application selected by the user. The application is chosen via an open panel, so I have its path, and I use NSFileManager's fileAttributesAtPath method to get the file's attributes.
However, when the application is a bundle, these attributes don't have the NSFileHFSCreatorCode. I guess I could get the CFBundleSignature from its info.plist file, but I wonder if there's a more direct way that I miss.
Thanks for any help or pointer!
Philippe
--
______________________________________________________________________
Philippe MARTIN (a.k.a. Flip)
mailto:email@hidden
http://www.MacrobyteResources.com http://www.Free-Conversant.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.