Jump to content

Recommended Posts

Posted

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!

  • Moderators
Posted

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.

Posted (edited)

No general AutoIt problem:

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...