Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have an Applescript that simply opens a Dialog Box, asks for a user input and runs a Terminal Command and spits out the answer. It works great in AppleScript Editor yet I am trying to work out how I could package this Script File along with an icon to make a Mac App for my personal use. Thoughts.

share|improve this question

2 Answers 2

up vote 14 down vote accepted

In Applescript editor File->Save As and choose File Format as Application.

Open Bundle Contents drawer and see the applet.icns file, copy your icon to that.

See "Saving a script as an application" in Applescript Editor help.

share|improve this answer
    
+1, but +2 if I could. I've been using Applescript for years and had no idea about the icon trick. Very slick. –  Philip Regan Feb 13 '11 at 12:58

Open the information window for your Application cmd+i and drag your icon file (icns format) onto the top left default icon.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.