CRegistry:SetRgb
The SetRgb method saves an RGB value string to a Registry key. The RGB string is in a form like "100,250,12" containing R, G, and B color values between 0 and 255.
CRegistry:SetRgb( sName, rgbValue ) sName is the name of the value being saved. rgbValue is the RGB string value to be saved. |
The following script opens a key specified by sKeyName and saves an RGB string value to the Registry under the name "MyVal":
|
-- open the key and create a CRegistry object |
|
-- saves the value "0,64,12" under the name "MyVal" |
CRegistry class, GetRgb, CColorRef
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.