Figure 2.1.1 Saving a Script
Explanation: Go to File and click on Save. Give name to your script. And in file format, you can either select Script/Script Bundle/Application/Text. Currently we will save it as Script only. Later we will see how to save the file as an Application. 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.