Markir Posted February 25, 2005 Share Posted February 25, 2005 Hello together, how one can select Registry key, I know and can these on process. Now a question to a somewhat more complex topic: Is it to be scanned possible, if into the Registry Key under the following key "HKEY_LOCAL_MACHINE\SOFTWARE\PP COM\MRS\IsdnApl\Protocols" are several "Ordner" like "01, 02, 03... 20", these successively for a certain value and be handed over then to an input field? For example: I want to search for the value "Xpressions-PhoneMail-Skript", if this will be found, then read out the following key "da=397 ga=398 ca=399 -officepro tbd=120". I hope that is possible and understandably! Thank you for helping! Link to comment Share on other sites More sharing options...
Andre Posted February 25, 2005 Share Posted February 25, 2005 RegenumKey ? What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel! Link to comment Share on other sites More sharing options...
Markir Posted February 25, 2005 Author Share Posted February 25, 2005 Hm okay,here is a screenshot of the registry:ScreenshotIf the value "Description" = "Xpressions-PhoneMail-Skript" thenread the value "ParamBlock".The value "ParamBlock" can also been in the "Ordner" 01 or "02" and so on. Link to comment Share on other sites More sharing options...
Andre Posted February 25, 2005 Share Posted February 25, 2005 how many paramblocks are there ? Fixed ? andre What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel! Link to comment Share on other sites More sharing options...
Markir Posted February 26, 2005 Author Share Posted February 26, 2005 Ok, thanks, another question: I want to have the code, so: If the Description value = "Xpressions-PhoneMail-Skript", then Messagebox "Yes" and the code should be ending, else the code should be search so long, until this script find "Xpressions-PhoneMail-Skript". Can you help me? $i = 1 While 1 $key = RegEnumKey("HKLM\SOFTWARE\PP-COM\MRS\IsdnApl\Protocols",$i) If @error Then ExitLoop $str = RegRead("HKLM\SOFTWARE\PP-COM\MRS\IsdnApl\Protocols\" & $key,"Description") MsgBox(4096,"",$str) $i = $i + 1 If $str = ("Xpressions-PhoneMail-Skript") Then Msgbox(0,"Hallo Welt","Dies ist der richtige Key") EndIf WEnd Link to comment Share on other sites More sharing options...
Markir Posted February 27, 2005 Author Share Posted February 27, 2005 @Larry Has you any idea? 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