Code:
if not execute("hh.exe c:\\windows\\help\\wordpad.chm", No, ExeShowNormal)
then errorShow()
endif
Place this in a script and run it. This should open the Wordpad CHM Help file on your PC if it is in the same place as mine. Note the double slashes that are required in the path. That should point you in the right direction.
There is not an argument you can pass like this for specific topics
within a CHM file that I can find. If you want that you may have to look into DDO but I personally don't think the benefit is worth the effort.
You might consider writing individual CHM files for specific topics, then linking to them by inserting code into the mouseDouble event of the element for which you want context help, then passing the CHM name on to this bit of code.