System.readRegValue

Function/Meaning
Reading the registry
Type
Method of the System class
Syntax
readRegValue(key)
Arguments
key Specifies the registry key to read.
Return Value
Returns the registry value if execution is successful, or void if it fails.
Description
Reads the Windows registry specified by key.
The registry key can start with the following root key names:
HKEY_CLASSES_ROOT
HKEY_CURRENT_CONFIG
HKEY_CURRENT_USER
HKEY_LOCAL_MACHINE
HKEY_USERS
HKEY_PERFORMANCE_DATA
HKEY_DYN_DATA
For example, you can specify a string like the following for key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\hoeg\installdir

Only numeric values and single strings can be read. If the value is numeric, an integer type is returned; if it is a string, a string type result is returned.