Help Explorer Server is specially designed to publish offline help files on the Web in whatever format they are: WinHelp (.HLP), Compiled Help Format (.CHM) or even Microsoft Help 2.0 (.HXS). read more
SUPPORTED WINHELP MACROS
Besides a structured table of contents, a complete index, and a full-text search feature, WinHelp system provides a powerful set of macro commands.

Help Explorer Viewer has a built-in macro engine, which processes the macro commands in the format that is compatible with WinHelp. As a free addition to that, the macro engine lets the macros work not only in WinHelp help files, but also in the documentation compiled into HTML Help 1.x (.CHM) and MS Help 2.0 (.HXS) formats.
To insert a macro call in the HTML document, add a code line in the following format:
<a href="helpexplorer:///<file-name>;<window-name>;<macro-command>">Click Me</a>
  • The first part helpexplorer:/// designates a special Help Explorer protocol that grants you full access to the macro engine.
  • The <window-name> and <macro-command> parts specify a parent window to be used and a macro command to be invoked.
For example, to call the About macro command, use the following code snippet:
<a href="helpexplorer:///MyFile.chm;main;about()">Show About</a>
The following table lists WinHelp macro commands supported by Help Explorer Viewer:
Command Description
ALink Jumps to the topics that contain the specified A-keyword.
KLink Jumps to the topics that contain the specified K-keywords.
JumpContents Jumps to the contents topic of the specified Help file.
JumpContext Jumps to the topic specified by a context number.
JumpHash Jumps to the topic specified by a topic hash number.
JumpId Jumps to the topic specified by a topic ID.
JumpKeyword Jumps to the topic containing a specified K-keyword.
PopupContext Displays in a pop-up window the topic specified by a context number.
PopupHash Displays in a pop-up window the topic specified by a topic hash number.
PopupId Displays in a pop-up window the topic specified by a topic ID.
UpdateWindow Jumps to the specified topic in the specified window, and then returns the focus to the window that called the macro.
CloseSecondaries Closes all Help windows except the current secondary window.
CloseWindow Closes the main or secondary Help window.
FocusWindow Changes the focus to a specific Help window.
HelpOnTop Places all Help windows on top of other windows.
PositionWindow Sets the size and position of a Help window.
SetPopupColor Sets the background color of pop-up windows.
Back Displays the topic that was previously displayed in the current window.
Forward Displays the topic that was previously displayed in the current window.
Contents Displays the Contents tab or default topic of the current Help file.
Find Displays the Find tab of the Help Topics dialog box.
Finder Displays the Help Topics dialog box in its last state.
Next Displays the next topic in a browse sequence.
Prev Displays the previous topic in a browse sequence.
Search Displays the Index tab of the Help Topics dialog box.
ExecFile Runs a program or opens a file and runs the program associated with that file.
ShellExecute Opens, prints or runs a file or program.
To get more information on the arguments of these WinHelp macro commands, refer to the WinHelp documentation.
Copyright © HelpExplorer Software, 2007. All Rights Reserved.
Mentioned trademarks are the property of their respective owners.