• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 7. AppleScript > Saving a Script

7.4. Saving a Script

Before you save a script, let Script Editor check its syntax by clicking the Compile button. (If you don't perform a syntax check manually before trying to save, Script Editor will automatically do it for you as soon as you try to save.)


Note:

The Compile button won't find any errors if you created a script using the "watch me" system. After all, Script Editor itself wrote the script, so of course it's perfect. But when you write scripts by hand, as described later in this chapter, you'll find the Compile button a useful tool for cleaning stray errors out of your scripts.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint