Skip to content
This repository has been archived by the owner on Jul 5, 2020. It is now read-only.

system.registry.set()

krisdb2009 edited this page Apr 2, 2017 · 5 revisions

Details

This method will set mixed data into a specified registry location.

Arguments

system.registry.set(string keyPath, [mixed data]);

keyPath: The key path / filter used to specify a registry location.
data: A string / Integer / Object that is being stored.

If the data argument is missing, the given keyPath will be erased

Examples

Setting a string

//Setting a string
system.registry.set('HKEY_LOCAL_WEBDOWS/explorer/theme', 'webdows');

Setting an object

//Setting an object
var object = {
    this: {
         that: 'awsome',
           is: 'Cool'
    },
    that: 'nice'
}

system.registry.set('HKEY_LOCAL_DEMONSTRATION', object);

Removing a registry object

//Running this method will remove what was done in the previous example.
system.registry.set('HKEY_LOCAL_DEMONSTRATION');


Webdows Documentation Wiki

system Object

explorer Object

Clone this wiki locally