|
Registry object
Registry global object. SyntaxA Registry global object is created for you and only this object can exist in the application. It is named Registry and is globally accessible. Parametersnone. Property Ofglobal name space. Implemented InECMerge 2.1 DescriptionThe Registry object let you access registry variables. Propertiesnone. Methodsget_value Examplessee functions samples. See Also
Method get_valueSyntaxfunction get_value (key_path, value_name) Parameterskey_path. String. Path to a Windows registry key. Method OfRegistry object Implemented InECMerge 2.1 DescriptionReturns the value of the value with given value_name under key at key_path. The returned value is numeric if the value is a DWORD value, it is a String otherwise. If the key or value is not found, undefined is returned. ExamplesExample 1.Shows message box with the location where Ellié Computing Merge was installed: alert ( Registry.get_value ("HKEY_LOCAL_MACHINE\\SOFTWARE\\Ellié Computing\\Merge", "Path") ); See Also
Method get_values_list / get_subkeys_listSyntaxfunction get_values_list (key_path, re) Parameterskey_path. String. Path to a Windows registry key. Method OfRegistry object. Implemented InECMerge 2.1 DescriptionBoth functions return null if the key is not found. ExamplesExample 1.Lists the values in Ellié Computing Merge registry key: var values_array = Registry.get_values_list
("HKEY_LOCAL_MACHINE\\SOFTWARE\\Ellié
Computing\\Merge"); See Also
|
|