• 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
Re: Creator code and file extension
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creator code and file extension


  • Subject: Re: Creator code and file extension
  • From: Charles Srstka <email@hidden>
  • Date: Wed, 8 Oct 2003 23:41:24 -0500

Type/creator codes seem to be deprecated. Binding files to custom applications is still available though, just through a different mechanism, and it can be set in the Get Info panel, under "Open With:".

Charles

On Wednesday, October 8, 2003, at 11:13 PM, Hsu wrote:

This is just Mac OS X; LaunchServices looks at the file extension first.

Karl

On Oct 8, 2003, at 3:34 PM, Jay Teo wrote:

Hi All,

I know some folks consider creator codes and type codes evil and should be banished. However, many users of my batch imaging app have written to request for the option to bind the output files with the application of their choice. I found that a fair enough request and so am trying to implement it.

I believe my app is setting the creator and type codes correctly. However, the file extension seems to be taking precedence over the creator code.

> GetFileInfo jane.jpg
file: "jane.jpg"
type: "JPEG"
creator: "8BIM"
attributes: avbstclinmEd
created: 10/08/2003 15:02:17
modified: 10/08/2003 15:02:17

As shown by GetFileInfo, the creator in this case is set to 8BIM (Photoshop). But double-clicking on this file still opens it in Preview. Now if I just rename this file to "jane" (removing the extension), double-clicking opens it in Photoshop.

After hours of Googling and searching this archive, I am at a loss. Isn't the creator code supposed to take precedence over the file extension? Any help appreciated.


-Jay Teo
_______________________________________________
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.


--

MUB! MUB! MUB! MUB! MUB! MUB! MUB! MUB! MUB! MUB! MUB! MUB!

Homepage:
http://homepage.mac.com/khsu/index.html
_______________________________________________
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.
_______________________________________________
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: Creator code and file extension
      • From: "M. Uli Kusterer" <email@hidden>
References: 
 >Re: Creator code and file extension (From: Hsu <email@hidden>)

  • Prev by Date: Re: NSString from Palm text?
  • Next by Date: Re: Creator code and file extension
  • Previous by thread: Re: Creator code and file extension
  • Next by thread: Re: Creator code and file extension
  • Index(es):
    • Date
    • Thread