Chris2137378 0 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! Share this post Link to post Share on other sites
w0uter 4 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 Share this post Link to post Share on other sites
SmOke_N 210 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. Share this post Link to post Share on other sites
Westi 0 Posted June 7, 2005 (edited) No general AutoIt problem: Run ( @windowsdir & "\winhlp32.exe yourhelpfile.hlp") Edited June 7, 2005 by Westi Share this post Link to post Share on other sites
Chris2137378 0 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... Share this post Link to post Share on other sites