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.
How to make an AppleScript file into a Mac App
applescript
Related Question
- How to run a shell script that prompts for user input from within Applescript
- Passing osascript via .Net CORE gets syntax error: A unknown token can’t go here
- MacOS – Is it possible for an AppleScript .app file to retain its custom icon, even after edits have been made to the code
- How to have Finder mount an SMB share from ssh without confirmation
- How to get an Applescript to copy the contents of a variable to the clipboard
- Using Applescript to append user input to existing note in Notes App
- Typing into Terminal works, AppleScript partially works
Best Answer
In Script Editor, select File > Save As and set File Format to Application. (In Mojave and later, the Save As choice in the File menu is not visible unless you hold down the Option key.)
Open Bundle Contents drawer and see the applet.icns file, copy your icon to that.
See "Saving a script as an application" in Script Editor help.