slightly_abnormal Posted June 9, 2006 Share Posted June 9, 2006 (edited) how can i list the regkey values that are being read/ and that exist this thing here is supposed to list all the values *that exist*, but it's returning blank lines, and not jsut what is read, how do i make it work? For $i = 65 to 90 $Var= ConsoleWrite(RegEnumKey('HKLM\SYSTEM\MountedDevices\DosDevices\',Chr($i)&":" )&@LF) if @error <> 0 Then ExitLoop MsgBox(4096, "Value Name #" & $i & " under in AutoIt3 key", $var) next Edited June 9, 2006 by slightly_abnormal Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted June 9, 2006 Moderators Share Posted June 9, 2006 Something like this? For $i = 1 to 1000 $Var = RegEnumVal('HKLM\SYSTEM\MountedDevices', $i) If @error Then ExitLoop If StringInStr($Var, "DosDevices") Then ConsoleWrite($i & ") " & $Var & @LF) EndIf ;MsgBox(4096, "Value Name #" & $i & " under in AutoIt3 key", $var) Next Link to comment Share on other sites More sharing options...
slightly_abnormal Posted June 9, 2006 Author Share Posted June 9, 2006 Something like this? For $i = 1 to 1000 $Var = RegEnumVal('HKLM\SYSTEM\MountedDevices', $i) If @error Then ExitLoop If StringInStr($Var, "DosDevices") Then ConsoleWrite($i & ") " & $Var & @LF) EndIf ;MsgBox(4096, "Value Name #" & $i & " under in AutoIt3 key", $var) Nextyes, thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now