|
VBScript Basics |
|
|
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.
This chapter introduces some basic VBScript functions and features. For a complete reference, please see the original documentation from Microsoft® at the following locations:
TIP: Use the ScriptEngine function to find out which version of VBScript is installed on your computer.
NOTE: Docklight Scripting executes the VBScript code in "safe mode" (safe subset) and disallows potentially harmful actions. For example, creating a "FileSystemObject" (file I/O) is one of the actions disallowed in the VBScript safe subset. The Docklight script will abort with an error message. Please contact our e-mail support if you have special requirements and need to use "unsafe" VBScript statements. By popular request, file I/O is now easily possible using Docklight's FileInput / FileOutput objects.
Docklight-Specific Features
VBScript Basic Features by Categories
VBScript Basic Features in Alphabetical Order
|