Jump to content
Sign in to follow this  
Markir

Selecting Registry Key

Recommended Posts

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!

Share this post


Link to post
Share on other sites

RegenumKey ?


What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel!

Share this post


Link to post
Share on other sites

Hm okay,

here is a screenshot of the registry:

Screenshot

If the value "Description" = "Xpressions-PhoneMail-Skript" then

read the value "ParamBlock".

The value "ParamBlock" can also been in the "Ordner" 01 or "02" and so on.

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...