PDA

View Full Version : #00014: How to enumerate subkeys of a specified registry key?



FAQ
03-20-2006, 09:10 AM
Question:

How to enumerate subkeys of a specified registry key?

Answer:

Set Variable %TEST% to ScriptItem->Get Registry SubKey("0") from "HKEY_LOCAL_MACHINE\Software\Lindersoft"
Set Variable %LOOPID% to "0"

Loop (%TEST% Times)

Set Variable %LOOPID% to (Increment Variable by 1)
Set Variable %RESULT% to ScriptItem->Get Registry SubKey("%LOOPID%") from "HKEY_LOCAL_MACHINE\Software\Lindersoft"
Display Message Box "%RESULT%" -- "" End