How do you set TextPad as default HTML editor? WinXP+FireFox

General questions about using TextPad

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

Post Reply
Bowditch
Posts: 3
Joined: Thu Feb 02, 2006 12:02 am

How do you set TextPad as default HTML editor? WinXP+FireFox

Post by Bowditch »

TextPad was the default HTML editor when I was using IE. I recently told FireFox to go ahead and make itself the default browser, when I did this notepad became the default HTML editor.

I have gone to
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Default HTML Editor and all sub folders and TextPad is listed as the editor. (same for similar settings on local machine)

the key is: C:\Program Files\TextPad 4\TextPad.exe "%1"

I have gone to about:config on FireFox and set the values for default HTML viewer to TextPad and that works just fine.

What am I missing?

(If you don't know about "about:config" in FireFox you should! It is like the registry but just for FireFox. You can get to ALL your settings from one simple screen! - I just discovered it tonight while trying to fix the above problem and I think it is really handy - I took care of a few other settings that were bugging me about FF)
gan

Post by gan »

I'm not sure if i understand what is not working. Are you unable to make textpad the default html source editor for IE or Firefox?

For IE you can add a (default) REG_SZ under: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name" with the value "C:\Program Files\TextPad 4\TextPad.exe "

For Firefox you can use "about:config" to change the "view_souce.editor.external" to "True" and change the view_source.editor.path to "C:\Program Files\TextPad 4\TextPad.exe " (or whatever the path is for your textpad installation).

At least this two settings work fine for me.
Bowditch
Posts: 3
Joined: Thu Feb 02, 2006 12:02 am

That part I have working...

Post by Bowditch »

...it is outside of the browser that is giving me trouble now. When I right click on an HTML file I can choose "Open","Print", "Edit", "Scan..."(virus), "Open With" etc.

When I click "Edit" the file opens in notepad, until this afternoon when I set FireFox as my default browser it has always been TextPad. So now when I want to edit an HTML file I need to go to "Open With" then select TextPad.

In the Option box in TextPad I have associated .HTML, .JS, and .CSS with TP, and the last two seem to work just fine, it is only HTML files that open with notepad.

FireFox did something when I set it to be the default browser and I am trying to undo it.
gan

Post by gan »

If you start Internet Explorer, then choose "Tools-Internet Options" from the menu and then select the tab "Programs". What do you have as a html editor there? This setting affect what your HTML editor is not only from Inside IE, but for Windows in general.
Another option is to download the add-on txplink which is a notepad replacement. That way every time you or a program try to start notespad.exe then Textpad is started instead.
Post Reply