Integrating RegJump as a TextPad tool

Usage tips, posted by users. No questions here please.

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Alex K. Angelopoulos
Posts: 7
Joined: Sun Feb 01, 2004 3:44 pm

Integrating RegJump as a TextPad tool

Post 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.
OnlyTextPad
Posts: 41
Joined: Sat May 20, 2006 9:10 pm
Location: Helsinki
Contact:

Might be sub case of "Use TextPad as Command Line

Post 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"=""
ssmith22x0
Posts: 2
Joined: Thu Jun 18, 2009 4:35 pm

Re: Integrating RegJump as a TextPad tool

Post 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.
Post Reply