In the Script Context Pane, select the script you wish to save. From the File menu, click Save or you can click on the Save button. You can also save and execute the script by simply clicking on the Save/Run button from the Script Editor. The Editor Pane will become grey and the name of the script will appear in the Script Context Pane in the appropriate place.