Re: Assign icon to a file
Re: Assign icon to a file
- Subject: Re: Assign icon to a file
- From: Jeremy Dronfield <email@hidden>
- Date: Thu, 5 Feb 2004 14:47:40 +0000
On 5 Feb 2004, at 1:09 pm, Roberto Sobachi wrote:
How can I assign an Icon to a file creation with writeToFile...?
In the Properties pane of your target's Get Info panel, there's a table
where you can set Document Types. Fill in the following columns:
Name: My Document Format
Extensions: myext
OS Types: myext
Icon File: MyDocIcon <- here
Role: Editor
The icon will work with -writeToFile even if your app isn't
document-based, so long as the path extension matches .myext.
-Jeremy
========================================
email@hidden
theLocustFarm.net:
- fractious fiction at
http://freespace.virgin.net/jeremy.dronfield
========================================
_______________________________________________
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.