Error getting tags :
error 404Error getting tags :
error 404 queryRegistry | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
queryRegistry
Basics
Expander triangle
Type
Function
Syntax
the queryRegistry of keyPath queryRegistry(keyPath[,typeVariable])
Introduced
1.0
Changed
2.0
Environment
Desktop, Web and Server
Platform Support
Windows
Security
RegistryRead
Summary
The queryRegistry function returns the value of an entry in the Windows system registry.
Examples

queryRegistry("HKEY_CLASSES_ROOT\.rev\")
queryRegistry(winFilePath,myType)

Additional Comments
Expander triangle

Use the queryRegistry function to get system settings on a Windows system.

Parameters:

The keyPath parameter is the path to a registry entry.

The typeVariable is any legal variable name.

Value:

The queryRegistry function returns a string.

Comments:

The first part of the keyPath should be one of the predefined handle values. If the keyPath ends in "\", the value returned is the default value for the key.

If you specify a typeVariable, the type of the data in the registry entry is placed in that variable.

Tip: To convert binary data you get from the registry to a string, use the binaryDecodefunction.

On Mac OS, OS X, and Unix systems, the queryRegistry function returns "not supported".

Changes to Revolution:

The typeVariable parameter was added in version 2.0. In previous versions, the type information was not available.

User Comments
Expander triangle