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:
Post a Comment