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

system.registry.get()

krisdb2009 edited this page Apr 2, 2017 · 2 revisions

Details

This method will return an object or string from a specified registry location.

Arguments

mixed = system.registry.set(string keyPath);

keyPath: The key path used to specify a registry location.

Examples

//Setting an object
var object = {
    this: {
         that: 'awsome',
           is: 'Cool'
    },
    that: 'nice'
}
//Placing object in registry
system.registry.set('HKEY_LOCAL_DEMONSTRATION', object);

//Getting object back from registry
var data        = system.registry.get('HKEY_LOCAL_DEMONSTRATION');
var dataFilter  = system.registry.get('HKEY_LOCAL_DEMONSTRATION/this');
var dataFilter2 = system.registry.get('HKEY_LOCAL_DEMONSTRATION/this/is');

/*
data == {
    this: {
         that: 'awsome',
           is: 'Cool'
    },
    that: 'nice'
}

dataFilter == {
    that: 'awsome',
      is: 'Cool'
}

dataFilter2 == 'Cool'
*/


Webdows Documentation Wiki

system Object

explorer Object

Clone this wiki locally