alawoona Posted December 21, 2004 Share 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 Link to comment Share on other sites More sharing options...
MHz Posted December 21, 2004 Share Posted December 21, 2004 GUISetHelp() This function was made for this purpose. It is in the manual. Link to comment Share on other sites More sharing options...
therks Posted December 21, 2004 Share 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 Link to comment Share on other sites More sharing options...
alawoona Posted December 21, 2004 Author Share 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 Link to comment Share on other sites More sharing options...
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