Mioplanet
Documentation Center
Resources and Help
Home
Products
MioScript
JavaScript
TechNotes
PHP
Home
|
MioScript
|
reg.read.ROOT
SEARCH
Functions
reg.createKey.ROOT
reg.deleteKey.ROOT
reg.deleteValue.ROOT
reg.read.ROOT
reg.readValue
reg.write.ROOT
reg.writeValue
MioScript Reference
> Statements
app...
browser...
dialog...
disk...
draw...
extern...
filename...
keyboard...
menu...
mio...
mouse...
num...
path...
pushButton...
reg...
RS232...
sci...
screen...
shortcut...
sound...
str...
system...
time...
var...
window...
Function
reg.read.ROOT
Language:
MioScript
Product:
MioFactory
Syntax
reg.read.ROOT
(Key, Name,
Default
)
Parameters
STRING
Key
Full path to the key containing the value to read.
STRING
Name
Name as used when the value was saved with
reg.write.ROOT
.
STRING
Default
Optional.
Default value if the entry is not found in the registry database.
Return value
Value.
Description
Reads a value in the registry database.
In most of the cases,
reg.readValue
should be used.
ROOT can be one of the following predefined keys:
CLASSES_ROOT
CURRENT_USER
LOCAL_MACHINE
USERS
CURRENT_CONF
MioScript Sample Code
// Read
&result = reg.read.CLASSES_ROOT("Test", "MyValue", "Not found!")
alert(&result)
// Write
reg.write.CLASSES_ROOT("Test", "MyValue", "This is a value")
// Read again
&result = reg.read.CLASSES_ROOT("Test", "MyValue", "Not found!")
alert(&result)
Copyright
Mioplanet
2008 |
Desktop News Ticker
|
Desktop Alert
|
Last update: Sunday May 25th, 2008
Mesure d'audience ROI statistique webanalytics par