I want to create an executable file that when run will send a popup. I have the code for the popup
osascript -e 'tell app "Finder" to display dialog "message"'
but don't know how to create an executable file.
applescriptterminal
I want to create an executable file that when run will send a popup. I have the code for the popup
osascript -e 'tell app "Finder" to display dialog "message"'
but don't know how to create an executable file.
Best Answer
Write your AppleScript in Script Editor.
Choose File → Save and select Application as File Format.
This gives you an .app which will run your AppleScript when opened.