winRegistry.read

Syntax winRegistry.read (path)

Params path is a backslash-delimited path name to the registry key whose value you wish to determine.

Action Gets the value of a registry key.

Returns The value of the registry key or value, or false if there is no key or value at the specified path.

Examples winRegistry.read ("HKCR\\.txt\\")

   » "txtfile"

typeOf (winRegistry.read ("HKCR\\batfile\\EditFlags")) == binaryType

   » true

winRegistry.read ("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shutdown Setting")

   » 1

winRegistry.read ("HKCU\\DoesNotExist\\")

   » false

Notes Top-level keys may be abbreviated. The key names and corresponding abbreviations are:

HKCR -- HKEY_CLASSES_ROOT

HKCU -- HKEY_CURRENT_USER

HKLM -- HKEY_LOCAL_MACHINE

HKU -- HKEY_USERS

HKCC -- HKEY_CURRENT_CONFIG

This verb is new in Frontier 7.0.

Platform Notes This verb is only implemented in the Windows version of Frontier.

See Also winRegistry.write

winRegistry.getType

winRegistry.delete

Discuss