In most cases it makes a lot of sense to start developing the
script from an example obtained from the Enfocus website or from another Switch user
(see http://forum.enfocus.com).
To start developing your script package from an existing
example:
Copy the example script package file under a new
name (so that the original is preserved); do this in the system's file browser
or by using the Save script as menu item in
SwitchScripter.
Double-click the copy to open it in
SwitchScripter.
Adjust the configuration in the Declaration pane
if needed (if the example is very similar to the script, change the script's
name and perhaps its icon).
Adjust the program text in the Program pane as
desired.
Click File
> Save script to save the script package.
Verify operation of the script as explained in
Testing a script,
adjust the script and its declaration as desired, and save the final
result.