VWorks User Guide : Creating a protocol: advanced topics : VWorks-defined functions

VWorks-defined functions
Function descriptions
The VWorks JavaScript interpreter supports the JavaScript 1.5 or later core functions and objects. VWorks also has its own functions and objects that can be used.
The following VWorks-defined functions are available globally, so they are not restricted to a particular object or programming context.
 
Examples:
open("c:\\VWorks workspace\\script.js")
open("c:\\VWorks workspace\\script.txt")
Example: print(plate.name)
Text string. Required. Allows you to initiate a command that you could otherwise enter into the Windows Run dialog box, such as notepad text.txt (opens a file named text.txt in Windows Notepad).
Boolean True/False. Optional. Default is False. If True, the software waits for the function to complete before continuing (blocking).
Related information
 
VWorks-defined plate objects, properties, and methods
VWorks-defined task objects, properties, and methods