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, Word97and 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:
HKey_Classes_Root/.htm/OpenWithList/
you will see two keys, one for notepad and one for word. To add another program for editing:
- Right click OpenWithList and add a New Key. Give it the name you want to show up in your "Edit With" list.
- Right click the newly created key and add a new key named shell.
- Right click shell and add a new key named edit.
- Right click edit and add a new key named command.
- 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:
- Textarea editing in desktop text tools, Dave Winer, 3/19/1999; 8:33:07 PM
- Re: Registry Hack for IE5's, pete@clearlyonline.com, 3/20/1999; 6:02:00 PM
- Re: Hacking Frontier into IE5, Sean Lindsay, 3/21/1999; 6:32:24 PM
- IE 4, too. Re: Registry Hack for IE5's, Jonathan Hendry, 4/24/1999; 4:51:45 PM
This page was archived on 6/13/2001; 4:48:55 PM.
© Copyright 1998-2001 UserLand Software, Inc.