With applyguiscript(), you can pass variables from WS script to a Visual Basic (VB) script.
The applyguiscript() command is useful primarily when a user is dealing with special controls such as grids or ActiveX controls.
Note: You can specify the file path in the command, if the file is not existing in the scripts folder.
You can either mention the directory path or the relative path for the VBScript file. In our example, we are using the relative path, means the command will look only in the specified script directory.
"template":true - Enables a user to create a VBS file, which is then called with the applyguiscript command.
The applyguiscript() command takes the following option: