Re: Associating a library created file with my application
Re: Associating a library created file with my application
- Subject: Re: Associating a library created file with my application
- From: Pandaa <email@hidden>
- Date: Thu, 15 Apr 2004 06:06:49 +0200
2004-04-15 kl. 05.30 skrev Steve Palmer:
I may have missed something extremely obvious but... is there a way to
associate a file that is created by a third-party library that I use
with my own application? Specifically, after I call the library to
create the file (which uses the C-run time library functions), I want
to set the file so that opening from Finder will open my application
and it will have an icon that I specify? My application is not
NSDocument based if that is significant.
If you know the file path, why don't you simply change the HFS creator
attribute? To get your custom icon, add a document type in your targets
properties - you don't have to specify a document class for the icon to
work ( you may need to restart the finder for the icons to begin
showing up after you rebuild though, I always have some weirdness there
).
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . .
. . . . earth water fire air software - the five elements . . . .
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . .
. email@hidden . . www.synapticpulse.net .
_______________________________________________
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.