Previous - regDelete Section Home - Registry and INI Next - regListValueName


regListKey ( )

Obtains a list of subkeys

Usage:

regListKey (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 initial the registry subkey.

Returns:

(list of string) - a list containing the key names under the path subkey

Example:

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

Notes:


Previous - regDelete Section Home - Registry and INI Next - regListValueName