Script Editor
Hidden by default, the Script Editor can be opened with View > Script Editor and is located at the bottom of the Sources window. When displayed, it allows a script to be edited and tested efficiently without having to type it in the Console each time. Scripts can also be loaded from a file by using the Load button.
To use the Script Editor, press the Execute button to run the script and the Console will display the results if the script prints anything. While the editor has focus, Alt-Enter will execute the script as well.
Reset
Clears the Script Editor.
Load
Loads a script.
Save
Saves the script.
Execute
Executes the script.
Find
Press Ctrl-F while the Script Editor has focus to pop up a Find field. Press Esc to exit find mode. Typing will search and set the selection to the next thing it finds that matches. Press Enter to go to the next instance.