Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Changing the Applescript Icon?

Hi,

I'm trying to change the icon associated with an applescript that's saved as an application.

Its the one with a verticle scroll sitting on a horizontal piece of paper (or some such thing).

Normally, when I change an icon like this I just control click the main app to get "show contents" and replace the icon with my own file of the same name. (saving the original of course).

However, I can't find this particular icon in the apple script application folder.

Am I looking in the wrong place or going about this all wrong?

Thanks

G5 Dual 2.5 Gz Mac OS X (10.4.8)

Posted on Jan 23, 2007 12:20 PM

Reply
13 replies

Jan 24, 2007 8:43 AM in response to Andreas 

BTW, a little trick that might get the Finder to display your icon… Paste any icon into the app's Get Info panel; launch and quit the app; delete that icon from the Get Info window – a bit crazy, but it usually works! If it doesn't, move the app to the desktop and back into its folder – that should serve to convince the Finder to refresh the display. Make sure that "Show icon preview" is ticked in the info (Cmnd-J) for the folder that contains the app.

G5 2.1GHz Mac OS X (10.4.8)

Jan 24, 2007 10:48 AM in response to Andreas 

Cool solution, Andreas. Saving the script as application bundle reveals the applet.icns. Based on that informatioin, I found the applet.icns in /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/Resources/. Additionally, it also contains a droplet.icns. Now, if you replace those with your preferred icns files, subsequent script applications and application bundles should reflect that new icon. Give it a go and let us know.

Jan 24, 2007 1:11 PM in response to baltwo

I wouldn't myself make the change in the framework…

• Every AppleScript app would have the same icon. I couldn't live with that – it would be like Photoshop and MS Word having the same icon! Every one of the many apps I have written, unless it sits tucked away where it never gets seen, has its own distinctive icon.

• I don't like advising anyone to make changes at that level, even though this one is only in the System Library.

• A change in the framework is prone to being nullified by an Apple update – hello Leopard! A change in the app itself stays put.
=-=-=-=-

Samuel ~ Once the Finder has 'noticed' the change it should stick. Let us know after a few reboots.

G5 2.1GHz Mac OS X (10.4.8)

Changing the Applescript Icon?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.