Adding your choice of text editor to Flare’s Open With menu
December 2nd, 2010 2 Comments
Madcap Flare has a pretty good built-in text editor for editing topic files in text-only format. I use this all the time. But sometimes it’s handy to be able to open a topic file in an external editor of your choice so that you can use the various features of that tool. My text editor of choice is Notepad++.


Until now, when I right-clicked a topic file in Flare’s Content Explorer and chose Open With, all I got, apart from the internal text editor and the internal browser, was a choice of either Firefox or Notepad (the simple Microsoft text editor):
I wanted to see Notepad++ in there. You might want to see Dreamweaver or something else. So here’s how to add programs to that menu.
Note: This procedure involves editing the Windows Registry. You need to treat the Registry with caution. Don’t go any further if you’re at all concerned about tweaking your Registry settings. You will also need to have an Administrator account. The following procedure worked for me today, using Windows 7. However, I provide no guarantees it will work for you.
- First, check whether Windows knows where to find the executable file.
To do this, enter run in the search box in the Start menu and press Enter.
In the Run dialog box, enter the name of the executable file (e.g. notepad++.exe) and click OK.
If the application starts it means Windows knows where this application lives. This reduces the number of steps in this procedure. If Windows does not find the application, but you know it’s installed, the process is a bit more complex and you should read ahead through the rest of the instructions before deciding whether you really want to proceed.
- Start the Registry Editor.
To do this, enter regedit in the search box in the Start menu and press Enter.
If you have Windows UAC enabled (which you should have if you know what’s good for you), you’ll be asked to confirm that you want to allow the Registry Editor to make changes to your computer. Click Yes.
- Expand the following sections of the Registry:
HKEY_CLASSES_ROOT > .htm
- Right-click the .htm folder and choose Export.
Exporting a Registry key creates a file that you can double-click later, if things go wrong, to reinstate that part of the Registry.
- Give the .reg file a suitable name (preferably something that tells you which part of the Registry it’s for and the date it was created) and save it somewhere appropriate.
- Expand .htm > OpenWithList.
- Right-click the OpenWithList folder and choose New > Key.
- Change the default name (New Key #1) to the next name of the executable file. In my case, for Notepad++ this was:
notepad++.exe
- Now do exactly the same thing for HKEY_CLASSES_ROOT > .html
Remember to export the key before you make any changes.
If there is no OpenWithList key within .html just go ahead and add one.
- If Windows found the application in step 1, you can close the Registry Editor, start Flare and check that there’s a new Open with option.
Note: Changes to the Registry are applied immediately. There’s no File > Save menu item and you don’t need to apply your changes. However, you do need to close and restart Flare, if it was already running, before the application is displayed in the Open with submenu.
If everything went okay, go back and archive or delete the .reg file you exported from the Windows Registry. It’s generally best not to leave .reg files lying around in case you accidentally run them at a later date and overwrite any Registry changes that were made since you created the export file.
- If Windows doesn’t know where to find your application, you need to tell it. You do this with some more Registry tweaking.
Warning: The following worked for me but I need to stress here: all messing around in the Windows Registry has a risk. I accept no responsibility for anything that might occur after you edit your Registry. Do not do this unless: you are confident you know what you’re doing in the Registry, you’ve exported any Registry keys before you make any changes, and you’re not going to hold me in any way responsible for any badness that happens after you’ve done this. You have been warned!
So, having said that, imagine you have a program called qwoop that you want to use to edit Flare topic files. The path to the executable is D:\Alistairs Imaginary Software\Qwoop\qwoop.exe but entering just qwoop in the Run dialog box doesn’t start the application.
- Go to HKEY_CLASSES_ROOT > Applications
- Within Applications, create the following hierarchy of keys (replacing qwoop with your own application’s name):
qwoop.exe > shell > open > command
Of these, only command has any data.
- Double-click the Default string entry in the command key and enter the path to the .exe file (in quotation marks if the path has spaces in it), followed by “%1” – this passes the name of the file you want to edit to the application for it to open.
- Click OK.
You should have something like this in the Registry Editor:
Assuming you entered qwoop.exe as the name of the key within .htm > OpenWithList and .html > OpenWithList, in the first part of this procedure, Windows now knows what to do with this, because the new keys under Applications tell it where to find qwoop.exe.
- Close the Registry Editor, start Flare and check that there’s a new Open with option.
Potentially similar posts
- Archived post summaries – June 2011
- Fix “No topics found” issue in CHM output – November 2010
- 5 cool Notepad++ tricks – October 2010
- Perl basics for beginners (on Windows) – August 2010
- Preventing BBC iPlayer running all the time – November 2008


January 11th, 2011 at 8:12 pm (#)
This was quite helpful, thank you. It's impossible to search for "open with" or "text editor" on madcap's forum, as they are "too common".
-=Ed.
January 21st, 2011 at 2:54 pm (#)
That was SO helpful!! Thank you - I also came across a rather unhelpful "too common" response from the madcap forum!!