×
Menu
Index

WINGETVALUE Subroutine (Windows Version Only)

 
Usage:
r = WINGETVALUE(keynum, "subkeyname" "valuename")
 
Description:
Obtains a registry value. The return value is 1 or 0 to indicate success or failure respectively. 
The return value also contains the following members: NAME, TYPE and VALUE.
 
Example:
sub main()
   ext("open winkey ^"^" hkcu")
   k=wingetvalue(0, "Software\MyApp", "MyValue")
   printl(k)
   printl(k.value)
   printl(k.name)
   printl(k.type)   
   ext("close winkey 0")
end sub