Basics of AppleScript


What if I have already saved the file as a script and now I want to save it as a text/application/script bundle. How do I do that? Well it’s simple.

Figure 2.2.1

Figure 2.2.1 Exporting a Script

Figure 2.2.2

Figure 2.2.2 Selecting File Format

Explanation: Go to File and click on Export. Give name to your script. And in file format, you can either select Script/Script Bundle/Application/Text.

As soon as you save the file as a script, the contents of the script gets colored. Now you are ready to run the script.