1

I'm trying to assign an icon to my AppleScript bundle, but without success.

Steps:

  • Added the icon (applet.icns) to the bundle's /Contents/Resources directory
  • Modified the bundle's /Contents/Info.plist:

    <key>CFBundleIconFile</key>
    <string>applet.icns</string>
    

** edit **

I ran the 'Set Bundle Icon File' script in the Applet Bundle Tools. It did not change the situation.

What am I missing?

1

Disclaimer: This may not work for an AppleScript bundle.

First I open the icon in preview.app.

I select the full picture and type Command-C

The way I typically change icons for files is that I select the file and type Command-I

In the info window that opens, I then select the current icon in the upper left.

Type Command-V and the icon (theoretically) will change to the picture in the clipboard

2
  • Wow, that work! Thanks so much. Question, where does it store that icon? If I distribute the bundle, will the icon be lost?
    – craig
    Sep 11 '13 at 19:24
  • I have tried sharing it before, but I don't know where the icon is stored (sorrry), but I have had about 50/50 success rate with it being shared and keeping the icon. You will have to try it yourself, and see if it works. Just try copying it with a flash-drive to another computer and see if it keeps the icon.
    – zggz12
    Sep 12 '13 at 23:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .