Use textpad instead of notepad when viewing Source in IE

General questions about using TextPad

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

Post Reply
kcunck

Use textpad instead of notepad when viewing Source in IE

Post by kcunck »

How can I set it to use Textpad instead of Notepad when I View Source in IE?

Thanks in advance!
robvanzant

Use textpad instead of notepad when viewing Source in IE

Post by robvanzant »

In IE (version 6 at least), try Tools | Internet Options... and then the Programs tab. Beside HTML Editor, Textpad shows up as one of the options in my drop-down list. If it's not there, maybe a registry edit can be done to add it.

HTH,
Rob
kcunck

Re: Use textpad instead of notepad when viewing Source in IE

Post by kcunck »

robvanzant wrote:In IE (version 6 at least), try Tools | Internet Options... and then the Programs tab. Beside HTML Editor, Textpad shows up as one of the options in my drop-down list. If it's not there, maybe a registry edit can be done to add it.
Thanks for the response. It does require a registry edit to add Textpad to the dropdown, but that is only if I wish to "edit" some HTML. I am looking for the solution if I right click on a web page and click View Source or View>View Source in the menu..
cow

txplink...

Post by cow »

rob's solution only changes the html editor, i.e. File>Edit with...

i don't know which registry key you have to alter to get TextPad to display the results of View>Source, but you can try one of the TXPLINK utilities found here. it basically redirects any files that open with Notepad to open with TextPad instead.
robvanzant

Use textpad instead of notepad when viewing Source in IE

Post by robvanzant »

Tested this one. :D

In the registry, navigate to

HKEY_LOCAL_MACHINE\Software\Microsoft\Internet
Explorer\View Source Editor\Editor Name

I had to add keys for View Source Editor and Editor Name. In the (Default) string, add the fully qualified path and filename for textpad in quotes. Mine was "C:\Program Files\Textpad\textpad.exe"

HTH,
Rob
kcunck

Re: Use textpad instead of notepad when viewing Source in IE

Post by kcunck »

robvanzant wrote:In the registry, navigate to

HKEY_LOCAL_MACHINE\Software\Microsoft\Internet
Explorer\View Source Editor\Editor Name
That registry setting doesn't exist for me. I'm using IE 6.x and XP.
mo
Posts: 306
Joined: Tue Mar 11, 2003 1:40 am

Post by mo »

I have this set up as you want, but I'm not sure how I did it. I believe it is a result of using the TPlink tool in "Add-Ons" (see menu at top of page); so that TextPad comes up when NotePad is called.

mo
Best Wishes!
Mike Olds
jlcox

Re: Use textpad instead of notepad when viewing Source in IE

Post by jlcox »

kcunck wrote:
robvanzant wrote:In the registry, navigate to

HKEY_LOCAL_MACHINE\Software\Microsoft\Internet
Explorer\View Source Editor\Editor Name
That registry setting doesn't exist for me. I'm using IE 6.x and XP.
No, it doesn't exist by default. You have to create the key. You can copy and paste the following into a text file to do it for you. Give it a .reg extension and just double-click it.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name]
@=""C:\\Program Files\\TextPad 4\\TextPad.exe""
Post Reply