• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Getting an application's creator code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Getting an application's creator code
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: Cocoa stripping resource forks: does Jaguar fix?
  • Next by Date: Re: Change type and creator
  • Previous by thread: Re: NSEnumerator ordering ?
  • Next by thread: Re: Getting an application's creator code
  • Index(es):
    • Date
    • Thread