After creating and saving a script, you can edit it at any time.
Open a script.
Edit the script just as you would in a text editor.
You can select, delete, cut, copy, and paste text. The script window also has auto-completion and syntactical association
technology, which helps to complete code with fewer errors.
For example, when typing
Window followed by a period, a list of all valid methods and properties for the Window object is displayed.
Similarly, when typing a valid function followed by a space, comma or opening parenthesis, syntactical assistance is displayed.
Click
Save on the toolbar or choose
File > Save to enter a description and save the script.