Re: custom icon for application bundle
Re: custom icon for application bundle
- Subject: Re: custom icon for application bundle
- From: Luther Fuller <email@hidden>
- Date: Thu, 18 May 2006 08:17:28 -0500
Donald Hall asked ...
I have a script saved as an application bundle that I want to give
a custom icon. I replaced 'applet.icns' with my custom icon in
Resources in the package contents, and changed the CFBundleIconFile
in the plist file to the name of the custom icon file (without the
icns extension). When I relaunched the Finder I got the generic
application icon instead. When I renamed the custom icns file to
'applet.icns', I did get my custom icon. If I copy and paste my
custom icon into the Get Info window for the application bundle, it
is saved in the resource fork of the package and does show in the
Finder.
Can anyone explain why my custom icon doesn't show up in the Finder
unless I rename it to 'applet.icns' despite having changed the
plist? I know I can just use the resource fork way of doing things,
but I would prefer to avoid this and use the bundle concept.
I ran into this and other problems with application bundles in Jan 05
and found that doing it right was so onerously tedious that I wrote
Script Bundle Tool. Your icon won't show in the Finder until a number
of files in your bundle are renamed correctly and you then make a
copy of the bundle. The document for Script Bundle Tool explains this
and other problems beginning on page 4.
http://scriptbuilders.net/files/scriptbundletool4.0.4.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden