Monday, March 25, 2013

Making an app from applescript

This post shows how to make an app from applescript code on your mac.

First, open applescript editor and write/put some applescript code. Press Command + Space bar and type apple and you should applescript editor like shown below.


Save the code in scpt (script) format just in case you'd like to make changes at some point in the future.


Once you're done saving it scpt format, try to save it again by selecting duplicate and then rename it from the arrow mark next to title of the document it self.


Now you should see the app "display" where ever you saved it. I saved it on the Desktop and this is how it looks.


Double clicking on it would make it run like any other application on your Desktop. Since I put the code 'display dialog "Hello! How are you?", running it would show a display dialog with this content like shown below.



No comments:

PBS Script Generator: Interdependent dropdown/select menus in Javascript

PBS SCRIPT GENERATOR
SH/BASH TCSH/CSH
Begin End Abort

About Me

LA, CA, United States
Here I write about the battles that have been going on in my mind. It's pretty much a scribble.

Sreedhar Manchu

Sreedhar Manchu
Higher Education: Not a simple life anymore