Previous - regListKey Section Home - Registry and INI Next - System Miscellaneous


regListValueName ( )

Obtains a list of Value names and their corresponding data types under a subkey

Usage:

regListValueName (object me, string key, string subkey )

Parameters:

key (string) - The predefined root key. The possible Values are:

"HKEY_CLASSES_ROOT"
"HKEY_CURRENT_USER"
"HKEY_LOCAL_MACHINE"
"HKEY_USERS"
"HKEY_DYN_DATA"

subkey (string) - The path string to the subkey desired

Returns:

A list of property lists. Each property list contains 2 properties: #Name and #Type. The #Name property holds the value name and the #Type property holds the data type of the value. The possible types are "STRING", "BINARY", "MULTI_STRING", "INTEGER" and "EXPAND_STRING". An example of returned list is:

[[#name: "FixStageSize", #type: "BINARY"], [#name: "CenterStage", #type: "BINARY"], [#name: "SwitchColorDepth", #type: "BINARY"], [#name: "AnimateInBackground", #type: "BINARY"], [#name: "ColorUI", #type: "BINARY"], [#name: "DialogsAtMousePosition", #type: "BINARY"], [#name: "SaveWindowPositions", #type: "BINARY"], [#name: "AutoCompile", #type: "BINARY"], [#name: "Tooltips", #type: "BINARY"], [#name: "EnableInlineIme", #type: "BINARY"], [#name: "RulerUnits", #type: "INTEGER"], [#name: "TemporaryMemory", #type: "BINARY"], [#name: "UserName", #type: "STRING"]]

Example:

xtRose = xtra("Rosetta").new( )
strLstKeys = xtRose.regListValueName( "HKEY_CURRENT_USER", "Software\Macromedia\Director\8.5\General" )

Notes:

 


Previous - regListKey Section Home - Registry and INI Next - System Miscellaneous