12.1.3         SAVE Scripts using Advantech WebAccess/SCADA Script Editor required!

You can use Notepad or other programs to create your script. But, YOU MUST SAVE SCRIPTS USING THE Advantech WebAccess/SCADA SCRIPT EDITOR.  Notepad (and other Windows text editors) add additional CR and linefeeds that will confuse the Script interpreter. 

If you use Notepad or other text editor, you should copy and paste into the Advantech WebAccess/SCADA Script editor. 

The Advantech WebAccess/SCADA script editor will parse your script and remove redundant linefeeds. 

The most common error caused by scripts executed directly from a Notepad saved file is that multi-line commands (using the backslash \) fail (because Notepad added redundant CR or linefeed).