Jump to content

Recommended Posts

Posted (edited)

JumpReg v0.8.1 (En, Ru)

Jump into the registry key

Required RegScanner

JumpReg.png

Readme_En

JumpReg.7z (610kb sources + EXE)

If you copy a few lines to the clipboard and press "Enter" in the empty input field, the program will offer to import references into the story.

You can pass a link via the command line. This allows you to configure Notepad++ to make a jump using the selected line and the hot key.

Edited by AZJIO
Posted
and based on this UDF.

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

  • 4 weeks later...
Posted

Here is the German Inifile for your JumpReg, just in case you or someone would it also.

Ger.7z

On some websites user post strings like this:

[HKEY_CURRENT_USER\Software\Classes\Applications\notepad++.exe\shell\open\command]

[HKEY_CURRENT_USER - Software ->Classes >> Applications | notepad++.exe > shell \open , command]

So it would be perfect, if we can replace these letters by the script, to handle copy and paste easier!

I tried this one, but i think you get it even shorter:

And i don`t know, where to add in your script.

Func CheckString($Value)
    $Value = StringUpper($Value)
    If $Value = "COMPUTER" Then Return $Value
    $Value = StringReplace($Value, Chr(34), "")
    $Value = StringReplace($Value, " |", "\")
    $Value = StringReplace($Value, "| ", "\")
    $Value = StringReplace($Value, " | ", "\")
    $Value = StringReplace($Value, " - ", "\")
    $Value = StringReplace($Value, " -", "\")
    $Value = StringReplace($Value, "- ", "\")
    $Value = StringReplace($Value, "-->", "\")
    $Value = StringReplace($Value, "->", "\")
    $Value = StringReplace($Value, ">>", "\")
    $Value = StringReplace($Value, ">", "\")
    $Value = StringReplace($Value, "-> ", "\")
    $Value = StringReplace($Value, " ->", "\")
    $Value = StringReplace($Value, " -> ", "\")
    $Value = StringReplace($Value, "> ", "\")
    $Value = StringReplace($Value, " >", "\")
    $Value = StringReplace($Value, " > ", "\")
    $Value = StringReplace($Value, " >>", "\")
    $Value = StringReplace($Value, ">> ", "\")
    $Value = StringReplace($Value, " >> ", "\")
    $Value = StringReplace($Value, " \", "\")
    $Value = StringReplace($Value, "\ ", "\")
    $Value = StringReplace($Value, ",", "\")
    $Value = StringReplace($Value, ";", "\")
    $Value = StringReplace($Value, ',"', "\"); from inffile
    $Value = StringReplace($Value, "\\", "\"); from regfile
    $Value = StringReplace($Value, "COMPUTER\", "")
    If StringRight($Value, 1) = "]" Then $Value = StringLeft($Value, (StringLen($Value) - 1))
    If StringLeft($Value, 1) = "[" Then $Value = StringRight($Value, (StringLen($Value) - 1))
    If StringRight($Value, 1) = "\" Then $Value = StringLeft($Value, (StringLen($Value) - 1))
    $Value = "COMPUTER\" & $Value
    Return $Value
EndFunc ;=>CheckString
Posted (edited)

burnell

line 312

Case $msg = $Jump Or $msg = $comboreg
            $comboreg0 = GUICtrlRead($comboreg)
           $comboreg0 = CheckString($comboreg0) ; <<<<<<<<<<
            $runyes=_Jump($comboreg0)

Delete: $Value = "COMPUTER\" & $Value

Edited by AZJIO
Posted

Thank you.

I delete also...

$Value = "COMPUTER\" & $Value
    If $Value = "COMPUTER" Then Return $Value
    $Value = StringReplace($Value, "COMPUTER\", "")
    $Value = StringReplace($Value, " | ", "\")
    $Value = StringReplace($Value, " >> ", "\")
    $Value = StringReplace($Value, " --> ", "\")
    $Value = StringReplace($Value, " -> ", "\")
    $Value = StringReplace($Value, " > ", "\")
    $Value = StringReplace($Value, " - ", "\")

Now,it run also in WinXP...

Func CheckString($Value)
    $Value = StringUpper($Value)
    $Value = StringReplace($Value, Chr(34), "")
    $Value = StringReplace($Value, " |", "\")
    $Value = StringReplace($Value, "| ", "\")
    $Value = StringReplace($Value, " -", "\")
    $Value = StringReplace($Value, "- ", "\")
    $Value = StringReplace($Value, "-->", "\")
    $Value = StringReplace($Value, "->", "\")
    $Value = StringReplace($Value, "-> ", "\")
    $Value = StringReplace($Value, " ->", "\")
    $Value = StringReplace($Value, ">>", "\")
    $Value = StringReplace($Value, " >>", "\")
    $Value = StringReplace($Value, ">> ", "\")
    $Value = StringReplace($Value, ">", "\")
    $Value = StringReplace($Value, "> ", "\")
    $Value = StringReplace($Value, " >", "\")
    $Value = StringReplace($Value, ",", "\")
    $Value = StringReplace($Value, " ,", "\")
    $Value = StringReplace($Value, ", ", "\")
    $Value = StringReplace($Value, ";", "\")
    $Value = StringReplace($Value, "; ", "\")
    $Value = StringReplace($Value, " ;", "\")
    $Value = StringReplace($Value, ',"', "\")
    $Value = StringReplace($Value, " \", "\")
    $Value = StringReplace($Value, "\ ", "\")
    $Value = StringReplace($Value, "\\", "\")
    If StringRight($Value, 1) = "]" Then $Value = StringLeft($Value, (StringLen($Value) - 1))
    If StringLeft($Value, 1) = "[" Then $Value = StringRight($Value, (StringLen($Value) - 1))
    If StringRight($Value, 1) = "\" Then $Value = StringLeft($Value, (StringLen($Value) - 1))
    Return $Value
EndFunc ;=>CheckString
  • 1 year later...
Posted

Update 0.8

Added CmdLine to run from Editor, such as Notepad ++

Added install hot key to jump when you copy to the Clipboard GuiHotKey.au3 (rasim)

If the box is empty, then JumpReg searches for a string in the clipboard, and ignoring the characters r n, brackets and dashes [-]. You can select a line vertically from the reg file.

Added saving window width

In Favorites you can use separator <--->

Does not require third-party utilities

Dropdown list now has a size of no less than 600

added items in the menu

You can paste the string [HK ......], brackets will be ignored

$WS_CLIPCHILDREN to avoid flickering when resizing

And other minor fixes

  • 2 months later...
Posted

Very useful this UDF, thanks for sharing.

  • 5 months later...
Posted (edited)

Hi AZJIO

I get an error:

+>11:13:35 AutoIt3: 3.3.9.4 Starting AutoIt3Wrapper v.2.1.0.33 Environment(Language:0407 Keyboard:00000407 OS:WIN_7/Service Pack 1 CPU:X64 OS:X86)

"C:\Program Files\AutoIt3\Include\GuiHotKey.au3" (20) : ==>Can not redeclare a constant.:

Global Const $WM_HOTKEY = 0x312

Global Const ^ ERROR

How to solve this?

Edited by burnell

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...