Re: Associating files with application and changing files icons
Re: Associating files with application and changing files icons
- Subject: Re: Associating files with application and changing files icons
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 13 May 2003 03:56:14 -0700
On Monday, May 12, 2003, at 07:52 AM, Cristian Savu wrote:
1. Can someone tell me how can I associate a custom file to my
application
?
I need to associate files with extension ".abc" with my app
(directly
throught code, not by selecting "Open with" from info)
Is this possible ?
You don't do it through code; you do it by editing the Info.plist file.
PB automatically generates one for your target, and you can edit what
it will generate in the target's settings. (In your project, click on
the Targets tab, then double-click on the target to view its settings.)
b. Also, it is possible to change the file icon of all "abc" files
to a
custom icon, after association ? I noticed some apps are doing that,
but I
have no idea how .
Again, check the target's Info.plist settings. There you can specify a
custom icon for the document type.
After you make the changes and re-build, you may have to quit and
re-launch the Finder for it to notice the changes.
Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page:
http://dreamless.home.attbi.com/
"Great spirits have always encountered violent opposition from mediocre
minds." - Albert Einstein
_______________________________________________
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.