• 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: custom icon for application bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: custom icon for application bundle
      • From: Carlos Ysunza <email@hidden>
    • Re: custom icon for application bundle
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: AppleScript Inquiry (FileMaker 8 Advanced)
  • Next by Date: Re: custom icon for application bundle
  • Previous by thread: Re: custom icon for application bundle
  • Next by thread: Re: custom icon for application bundle
  • Index(es):
    • Date
    • Thread