Sign in to follow this  
Followers 0
AZJIO

JumpReg

13 posts in this topic

#1 ·  Posted (edited)

JumpReg v0.8.1 (En, Ru)

Jump into the registry key

Required RegScanner

c9db3c3bb491.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.

B57ffuHa.png

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

Share this post


Link to post
Share on other sites



and based on this UDF.

 

Spoiler

Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1

AutoIt_Rus_Community.png AutoIt Russian Community

My Work...

Spoiler

AutoIt_Icon_small.pngProjects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize Program

AutoIt_Icon_small.pngUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF
 
AutoIt_Icon_small.pngExamples: 
ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo

Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating AutoIt_Rating.gif)

* === My topics === *

==================================================
My_Userbar.gif
==================================================

 

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Share this post


Link to post
Share on other sites

Wow nice tool, very usefull! thanks

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

#6 ·  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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

#11 ·  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

Share this post


Link to post
Share on other sites

#13 ·  Posted (edited)

same error!

Global $WM_HOTKEY = 0x312; Const

Edit: ok, solved.

Thank you.

Edited by burnell

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  
Followers 0