Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 18 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

to export an an application, do File -> Export and set the drop-down list to "Application"

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.