Appendix: Built-in Scripting Language optTagReturnError Name of the tag that will receive the error (if any) generated by the statement (e.g., "Division by zero"). The tag name must be configured between double-quotes and it must be a String tag. Returned value Examples Tip: This function is useful to execute VBScript statements from interfaces that support the built-in language only (e.g., Scheduler groups). You can also call VBSCript functions created in the Global Procedures. Note: The runtime station must support the VBScript statements configured in this function in order to execute them.
SecureViewerReload SecureViewerReload is a built-in scripting function that closes the Secure Viewer program and then reloads it with a new configuration file. Syntax SecureViewerReload( strFileName ) strFileName The file path of an INI file ( *.ini ) that describes the new configuration. (If the file is located in the same folder as Viewer.exe , then only the file name is needed.) The file should be structured the same and contain all of the same settings as the default configuration file ( Viewer.ini ). This parameter must specify either the name of a String tag or a text string enclosed in quotes. Returned value This function does not return any value.
Examples SecureViewerReload( configFile1 ) SecureViewerReload( "C:\Program Files\Secure Viewer\Bin\Config1.ini" ) InduSoft Web Studio Page 513 0 Error 1 Success Tag Name Expression TagResult RunVBScript("MsgBox(Time)") // Executes the MsgBox function from VBScript and displays the current time. RunVBScript(TagStatement) // Executes the statement configured in the value of the string tag TagStatement. RunVBScript("$TagC=$TagA/$TagB", "TagError") // Writes in TagC the result of TagA divided by TagB. The error generated by the operation (if any) is written to the string tag TagError (e.g., "Division by zero").
Function Group Execution Windows Embedded Thin Client SecureViewerR elMooadudle Activity Synchronous Not Supported Not Supported Secure Viewer only