If you already know Visual Basic® or Visual Basic® for Applications (VBA), VBScript will be very familiar. Have a look at the definitions and examples listed below. For getting started, try some of the following examples by copying & pasting the code into the script editor window and running the script. Docklight Scripting also comes with a number of sample scripts for you to try out.
TIP: Our Docklight Bot / AI assistant, available at Docklight Technical Support, can write Docklight script examples, but can also translate code from/to Python or JavaScript, if you are more familiar with one of these languages.
This chapter introduces some basic VBScript functions and features. For a complete reference, please see the original documentation from Microsoft® at the following locations:
•Visual Basic Scripting Edition (or go to www.microsoft.com and search for "VBScript")
•VBScript User's Guide
•VBScript Language Reference.
•Docklight Script Commands - The DL Object
•Docklight OnSend / OnReceive event procedures
•Docklight FileInput / FileOutput Object for Reading and Writing Files
•Control Structures (Decision Structures, Loop Structures)
•Variables, Arrays, Constants and Data Types