Registry

Name: exists
Type: function
Return type: bool
Argument 1 type: string

// returns true if a value exists for a specified key

alert(Registry.exists("foo"));

Name: getValue
Type: function
Return type: string
Argument 1 type: string

// returns value for a specified key

alert(Registry.getValue("foo"));

Name: getKeys
Type: function
Return type: RegistryKeyCollection

// returns a collection of keys associated with your script

var keys = Registry.getKeys();
alert("there are " + keys.length + " keys");

Name: setValue
Type: function
Return type: bool
Argument 1 type: string
Argument 2 type: string

// set the value for a specified key

Registry.setValue("foo", "bar");

Name: deleteValue
Type: function
Return type: bool
Argument 1 type: string

// delete the value for a specified key

Registry.deleteValue("foo");

Name: clear
Type: function
Return type: bool

// delete all keys and values for your script

Registry.clear();

Last edited Feb 2, 2014 at 8:59 PM by oobenoob, version 1