omron — GetProductPath

Appendix: Built-in Scripting Language Returned value Examples GetPrivateProfileString Reads a specified parameter from an .ini file using the standard .ini format. Syntax GetPrivateProfileString( strSection , strName , strDefault , strFileName ) strSection strName The section name to be read. The parameter name to be read. strDefault The default setting for this parameter. If the parameter is not found in the .ini file, the function will return this default setting. strFileName The path and name of the .ini file to be read. Returned value Returns the value of the specified parameter. Examples GetProductPath Gets the path to the program directory.

Syntax GetProductPath() This function takes no parameters. Returned value Returns the path to the program directory as a string. Page 556 InduSoft Web Studio 0 Windows 3.11 1 Windows 95/98/ME 2 Windows 2000/XP/Vista/7 3 Windows CE/Mobile Tag Name Expression Tag GetOS() //Returned value = 2 Function Group Execution Windows Embedded Thin Client GetPrivatePro fiSlyseteSmt Irnfiong Synchronous Supported Supported Supported Tag Name Expression Tag GetPrivateProfileString( "boot loader", "timeout", "50", "C: \boot.ini" ) // Returned value = 30 Function Group Execution Windows Embedded Thin Client GetProductPat h System Info Synchronous Supported Supported Supported