Scripting language (Overview)
The built-in scripting language provides an easy-to-use method to automate several tasks in WebSite-Watcher.
The scripting language is line oriented, that means you have to put each command into a single line. See also chapter Syntax overview.
WebSite-Watcher comes with a built-in script editor which can be launched in the Script menu.
To quickly open a script in the editor, simply press the Shift key while selecting a script in the script menu. Then the script will be opened in the editor instead of executed.
Scripts are stored as simple text files in the subfolder "script". If a script has a predefined file name, then it is used for specific actions in WebSite-Watcher, for example script files which are attached to specific toolbar buttons. All other scripts must be started manually via the "Script" menu or the command line.
- Autostart script (autostart.wws)
A script with the filename autostart.wws (placed in the subfolder "script") is executed automatically when WebSite-Watcher is started.
- Scripts for toolbar buttons (button1.wws, button2.wws and button3.wws)
WebSite-Watcher can optionally display three toolbar buttons to execute the script files button1.wws, button2.wws and button3.wws (placed in the subfolder "script"). Additionally you can assign shortcuts to these scripts.
Commands to check bookmarks
General commands