Jump to content
Sign in to follow this  
Chris2137378

Another noobie question...

Recommended Posts

I need some help getting my script to run a help file (.hlp not .chm). After researching the forum and AutoIt's help file for the last two hours I'm ready to pull my hair out for what seems to me should be a simple solution. I'm guessing it revolves around '@ComSpec' somehow but I'm having trouble getting it there. Please someone show me how profoundly simple this is!

Share this post


Link to post
Share on other sites

If you got beta:

dim $o_shell = ObjCreate('Shell.Application')
$o_shell.Open('E:\AutoIt3.1.1\AutoIt.chm')

If not:

RunWait(@COMSPEC & ' /c "E:\AutoIt3.1.1\AutoIt.chm"', '', @SW_HIDE)

My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll

Share this post


Link to post
Share on other sites

If you got beta:

dim $o_shell = ObjCreate('Shell.Application')
$o_shell.Open('E:\AutoIt3.1.1\AutoIt.chm')

If not:

RunWait(@COMSPEC & ' /c "E:\AutoIt3.1.1\AutoIt.chm"', '', @SW_HIDE)

<{POST_SNAPBACK}>

HeHe :( I knew you would respond to this one.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

No general AutoIt problem:

Run ( @windowsdir & "\winhlp32.exe yourhelpfile.hlp")
Edited by Westi

Share this post


Link to post
Share on other sites

Thanks for all the suggestions!

This seemed the simplest way:

Run ( @windowsdir & "\winhlp32.exe yourhelpfile.hlp")

Now to re-glue all my pulled out hair...

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...