GetRegistoryValue

<< Click to Display Table of Contents >>

Manual > Control Reference > Route > Route Methods >

GetRegistoryValue


 

Retrieve a value from the registry.

 


syntax

GetRegistoryValue(

         type,

         base,

         path,

         keyname,

         &value

         [,defaultvalue]

         )

 


Parameters

 

type

 

Type:

character

 

The type of key value. Specify "DWORD" or "STRING".

 

base

 

Type:

character

 

Select the target registry from the following:

"HKEY_CURRENT_USER"

"HKEY_LOCAL_MACHINE"

"HKEY_CLASSES_ROOT"

"HKEY_USERS"

"HKEY_CURRENT_CONFIG"

*If nothing is specified, use HKEY_CURRENT_USER.

 

path

 

Type:

character

 

The path to the registry.

 

keyname

 

Type:

character

 

The key name.

 

&value

 

Type:

General purpose

 

Return a value.

 

defaultvalue

 

Type:

General purpose

 

The default value if the key does not exist.

 

Return Value

 

 

Type:

Boolean

 

FALSE - Failure. TRUE - Success.

 


Supported


Script Action

Browser script

×

Calculation Expression Syntax

 

 


reference