Experimental listRegistry function
janschenkel at yahoo.com
Wed Sep 21 04:12:09 EDT 2011
In LiveCode 4.5, an experimental function 'listRegistry' was added.
I just tested the following in LiveCode 4.6.4 on Windows 7, but nothing happens.
Note that I tried both with and without a backslash at the end of the parentKey.
-- constant kColorsKey = "HKEY_CURRENT_USER\Control Panel\Colors\"
constant kColorsKey = "HKEY_CURRENT_USER\Control Panel\Colors"
local tColorKeys, tColorKey
put empty into field 1
put listRegistry(kColorsKey) into tColorKeys
repeat for each line tColorKey in tColorKeys
put tColorKey & tab & queryRegistry(tColorKey) & return after field 1
It doesn't seem that I'm barred from reading the registry itself, since the following does work.
constant kColorKey = "HKEY_CURRENT_USER\Control Panel\Colors\ActiveBorder"
Any ideas or suggestions?
Quartam Reports & PDF Library for LiveCode
"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)
More information about the Use-livecode