Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

Registry.SetValue

Sets a value on a registry key.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Registry 7.2 No Yes Yes, Windows only No No

MBS( "Registry.SetValue"; Path; Name; Value; Type )

Parameters

Parameter Description Example value
Path The path to the parent registry key.
Separated by \ you specify the path to the key you want.
Root can be Classes, CurrentUser, LocalMachine, Users, PerformanceData, CurrentConfig, DynData or the HKEY names.
"Users\test"
Name The name of the value. "Hello"
Value The value to set. "World"
Type The data type to store. "text"

Result

Returns OK or error.

Description

Sets a value on a registry key.
Type can be Text, ExpandText, DWORD, BinaryHex, None, QWORD or List.
Use DWORD to save 32-bit integer number or QWORD to save 64-bit number.
For list, please pass a normal ¶ separated list and we translate it.
For BinaryHex type, please pass hex encoded data and we decode it before saving.

See also


Registry.ListValues   -   RemoteControl.ClickMouse

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins