DIY macro for NirSoft faview.exe:
Click Edit > Configuration > Menus
to open menus.cfg for the current profile,
then paste the following three lines of code into it:
!&Bookmarks{
NirSoft Bookmarks=macros(NirSoftBook)|3
}
Explanation:
"!&Bookmarks" adds an entry into the existing bookmarks menu (!=append).
"NirSoft Bookmarks" is the text as seen on the menu, it can be changed to anything you like.
"(NirSoftBook)" calls the macro by name, which is defined in the next step.
The "|3" at the end determines where the text fits into the menu based on index numbers counting up from zero, thus it's the fourth item down, just after Options in KM 1.5.x
Next open Notepad and paste the following three lines of code into it, then save it as "NirSoft.kmm" (or any other name) in K-Meleon \ Macros folder:
NirSoftBook{
exec("C:\\foldernamehere\\NirSoft\\faview.exe");
}
No other code is necessary for the macro to function. I keep a single .kmm file like this one for collecting all similar mini macros. When K-Meleon is restarted it should be loaded, although you could make sure it's enabled in the macro preferences if necessary. Note that this simple example can be copied and modified to add any external program to any menu.
Explanation: "NirSoftBook" names the macro and the path name after "exec" (execute) defines the location of the .exe on the hard drive.