Appendix: Built-in Scripting Language numMainKey Numeric tag with the following possible values: strKey strVariableName Path where the value is located in the Main Key. Name of the variable to get. The maximum length is 255 characters. Returned value Examples GetServerHostName Gets the host name of the project's Server station. Syntax GetServerHostName() This function takes no parameters. Returned value Server host name for ISSymbol and 127.0.0.1 for others. GetTickCount Gets the current value of the clock ticks counter. Syntax GetTickCount() This function takes no parameters.
Page 558 InduSoft Web Studio 0 HKEY LOCAL MACHINE _ _ 1 HKEY CLASSES ROOT _ _ 2 HKEY CURRENT USER _ _ 3 HKEY USERS _ 4 HKEY CURRENT CONFIG _ _ 5 HKEY PERFORMANCE DATA _ _ 1 Variable type is String. 0 Variable type is DWord. −1 Invalid number of parameters or invalid Main Key. −2 Variable type is not supported. You can only read DWord or String values from the registry. −3 Failed to read the variable value; verify that you have the proper security rights.
Tag Name Expression Tag GetRegValueType( 0, "HARDWARE\DESCRIPTION\System", "SystemBiosDate" ) // Returned value = 1 Tag GetRegValueType( 2, "Control Panel\Desktop", "Smooth Scroll" ) // Returned value = 0 Function Group Execution Windows Embedded Thin Client GetServerHost NaSmysetem Info Synchronous Not supported Not supported Supported Function Group Execution Windows Embedded Thin Client GetTickCount System Info Synchronous Supported Supported Supported