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 )
|
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" |