Page 1 of 1

Integrating RegJump as a TextPad tool

Posted: Wed Sep 08, 2004 12:26 am
by Alex K. Angelopoulos
Sysinternals have just released a commandline tool named RegJump that will jump to a registry path given as an argument.

It makes a handy tool for use with TextPad, since you can use a $SEL macro on a registry key displayed in TextPad to immediately jump to the registry location. Here's one way to use it.

+ Download RegJump and put it in a folder in your path.

+ Add a new DOS tool named RegJump.

+ After applying the change, go to the properties of the tool. Make sure the parameters look like this:
regjump $SEL
and you may also wish to check the boxes for 'Run minimized' and 'Close DOS window on exit'

+ Hit OK, and you will have RegJump on your tools menu. When you select a base key path (abbreviated like HKCR or long like HKEY_CLASSES_ROOT both work) displayed in TextEdit and run the tool, you immediately have regedit open and autonavigate to the named key.

Might be sub case of "Use TextPad as Command Line

Posted: Wed Feb 14, 2007 7:05 pm
by OnlyTextPad
http://www.textpad.info/forum/viewtopic.php?t=7768
If you would have a lot of commands set in the Tools menu,
So parameters would be regjump $SEL
Here the conf for the most braviest :D

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Helios\TextPad 4\Tools\4]
"Properties"=hex:01,00,00,00,5f,80,00,00,69,00,00,00
"MenuText"="CommandLiner"
"Command"="cmd.exe"
"Parameters"=""
"Folder"="$FileDir"
"RE"=""

Re: Integrating RegJump as a TextPad tool

Posted: Mon Jul 20, 2009 4:04 pm
by ssmith22x0
If you want to roll your own RegJump... This is for vb6-. I use this version in a multi purpose utility. This was originally adapted from vbs code.

Private Sub Main()
Dim WshShell As WshShell, key$

On Error Resume Next

Set WshShell = New WshShell
key$ = Trim$(Command())
If key = "" Then key = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit\Favorites"
If Left$(key, 12) <> "My Computer" Then key = "My Computer" & key

WshShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit\Lastkey", key, "REG_SZ"
WshShell.Run "regedit", 1, True
Set WshShell = Nothing
End Sub


Alex K. Angelopoulos wrote:Sysinternals have just released a commandline tool named RegJump that will jump to a registry path given as an argument.
key.