|
VWorks-defined functionsThe 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.
Prints time-stamped messages to the VWorks log.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).The first example starts Notepad. The second example starts Notepad and pauses the VWorks software until you exit Notepad.
Using JavaScript in the VWorks software VWorks-defined plate objects, properties, and methods VWorks-defined task objects, properties, and methods