Chris2137378 Posted June 7, 2005 Posted June 7, 2005 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!
w0uter Posted June 7, 2005 Posted June 7, 2005 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
Moderators SmOke_N Posted June 7, 2005 Moderators Posted June 7, 2005 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.
Westi Posted June 7, 2005 Posted June 7, 2005 (edited) No general AutoIt problem: Run ( @windowsdir & "\winhlp32.exe yourhelpfile.hlp") Edited June 7, 2005 by Westi
Chris2137378 Posted June 7, 2005 Author Posted June 7, 2005 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...
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