Community
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Integrating RegJump as a TextPad tool

 
Post new topic   Reply to topic    Community Forum Index -> Tips
View previous topic :: View next topic  
Author Message
Alex K. Angelopoulos



Joined: 01 Feb 2004
Posts: 7

PostPosted: Wed Sep 08, 2004 12:26 am    Post subject: Integrating RegJump as a TextPad tool Reply with quote

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.
Back to top
View user's profile Send private message
OnlyTextPad



Joined: 20 May 2006
Posts: 41
Location: Helsinki

PostPosted: Wed Feb 14, 2007 7:05 pm    Post subject: Might be sub case of "Use TextPad as Command Line Reply with quote

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 Very Happy
Code:

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"=""
Back to top
View user's profile Send private message Visit poster's website
ssmith22x0



Joined: 18 Jun 2009
Posts: 2

PostPosted: Mon Jul 20, 2009 4:04 pm    Post subject: Re: Integrating RegJump as a TextPad tool Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Community Forum Index -> Tips All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB