alawoona Posted December 21, 2004 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
MHz Posted December 21, 2004 Posted December 21, 2004 GUISetHelp() This function was made for this purpose. It is in the manual.
therks Posted December 21, 2004 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
alawoona Posted December 21, 2004 Author 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now