winhlp32 - how does it work?

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
alsup
Posts: 2
Joined: Mon Sep 15, 2003 5:05 pm

winhlp32 - how does it work?

Post by alsup »

One feature that I love is the ability to add a custom tool that is associated with a windows help file. This lets me display context help for the current word containing the cursor. How does Textpad do this? I've been trying to do this via .bat file but have not had any luck. I can't find any documentation on command line args for winhlp32.exe. Does anyone know how I can have a batch file call up a specific help topic by name in a given help file?
User avatar
CyberSlug
Posts: 120
Joined: Sat Oct 04, 2003 3:41 am

Post by CyberSlug »

You can try KeyHH which provides this ability for most recent help files.

Ironically, the documentation about how to install and run the program is poor, so here are some tips:

1) The stetup program creates "C:\WINDOWS\KeyHH.exe" and "C:\Program Files\KeyWorks\KeyHH.its" (Setup never tells you this :shock:)

2) To view the KeyHH documentation, drag the KeyHH.its file to the KeyHH.exe program. (The provided Start Menu shortcut does not work :?)

You should see examples such as KeyHH -MyID htmlhlp.chm::/api.htm in the help explaining how to use KeyHH.
alsup
Posts: 2
Joined: Mon Sep 15, 2003 5:05 pm

winhlp32

Post by alsup »

I found what I was looking for at:

http://www.mvps.org/serenitymacros/winprogs.html

This is what I wanted to do:

winhlp32 -k topicname helpfilename
Post Reply