alawoona 0 Posted December 21, 2004 I am writing a script that has a Help Menu in the GUI. I have written a compiled help file (myhelp.chm). What script command do I use to launch the help file from within my script? thanx Share this post Link to post Share on other sites
MHz 80 Posted December 21, 2004 GUISetHelp() This function was made for this purpose. It is in the manual. Share this post Link to post Share on other sites
therks 33 Posted December 21, 2004 Note: GUISetHelp is only to set a command (executable file) to run when you press F1 in your GUI window. Alawoona seems to be using a GUI menu, so GUISetHelp wouldn't be of much use. Alawoona, use something like this: $HelpPath = "C:\Program Files\HelpFile.chm"; Run(@COMSPEC & ' /c start "' & $HelpPath & '"'); My AutoIt Stuff | My Github Share this post Link to post Share on other sites
alawoona 0 Posted December 21, 2004 Both replies are useful - thanx. Also found another way to run .CHM files: Run("C:\Windows\hh.exe " & '"' & $HelpPath & '"') where $HelpPath is the path to the help.chm file Share this post Link to post Share on other sites