Jump to content
Sign in to follow this  
alawoona

Launching A Help File

Recommended Posts

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

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 & '"');

Share this post


Link to post
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...