I am trying to call help with a specific topic.
In the past I used .HLP files and used this method:
(setq helpfilename "myhelpfile.HLP")
(setq helptarget "Menus")
(help helpfilename helptarget)
I am now using .CHM help files and I want to accomplish the same thing - open a specific help file to a specific topic. The old method no does not work with the .CHM file. I have added an alias for each topic and have tried calling with the Topic ID, the Alias and the Help Context Number (in decimal and hex). So far nothing I have tried works.
Does anyone know how to accomplish this using Lisp.
Thanks
One option
;; Courtesy of MP@theSwamp
;; http://www.theswamp.org/index.php?topic=5176.msg62866#msg62866 (defun ActiveXHelp ( topic ) (startapp "hh.exe" (strcat (findfile "acadauto.chm") "::/idh_" topic ".htm" ) ) (princ) ) (ActiveXHelp "HasAttributes")
Another option is to look at setfunhelp
(defun c:fooTest () (getstring "Press F1 for help on the fooTest:var1 command:") ) (setfunhelp "c:fooTest" "myHelp.chm" "var1")
// Called Kerry in my other life.
Everything will work just as you expect it to, unless your expectations are incorrect.
class keyThumper<T> : Lazy<T>; another Swamper