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.


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.

  • +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
  • 1
    Under El Capitan this seems to be File->Export now. – Von Oct 2 '16 at 17:36

In El Capitan at least you can use osacompile, e.g:

osacompile -o MyScript.app MyScript.scpt


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


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

You must log in to answer this question.

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