Archive of UserLand's first discussion group, started October 5, 1998.

Registry Hack for IE5's "Edit with..."

Author:Jason Domina
Posted:3/19/1999; 4:56:57 PM
Topic:Registry Hack for IE5's "Edit with..."
Msg #:4318
Prev/Next:4317 / 4319

One of the neato features of IE5 is the "Edit with..." button. It pulls the current page you're viewing out of the cache and opens it in the selected program. But there are only two options, Word97 and Notepad. While this is somewhat useful, I really wanted to use a different editor. If you look under Tools|Internet Options|Programs, you will find these two programs without any apparent way to add anything else.

If you fire up regedit and go to:


you will see two keys, one for notepad and one for word. To add another program for editing:

  1. Right click OpenWithList and add a New Key. Give it the name you want to show up in your "Edit With" list.
  2. Right click the newly created key and add a new key named shell.
  3. Right click shell and add a new key named edit.
  4. Right click edit and add a new key named command.
  5. Open the Default String for command and edit it's value. You will want to put in quotes the path to the executable you desire to edit with followed by %1. That should do it. I used "c:\program files\allaire\homesite.exe" %1 YMMV.

I've only done this with HomeSite, but I would guess you should be able to do it with just about any windows program. I had to fiddle around with the String Value to get it just right. I also tried to add a Perl Script into the Edit With, but always got back an error stating that "c:/the/path/to/my/cached/file.htm" wasn't a valid NT application :( Wouldn't that be a cool thing, though?

There are responses to this message:

This page was archived on 6/13/2001; 4:48:55 PM.

© Copyright 1998-2001 UserLand Software, Inc.