PantZ4 Posted November 21, 2006 Share Posted November 21, 2006 How do I run a .chm file? (A help file) I tryed run but gets this error: ==> Unable to execute the external program.: Thank you Link to comment Share on other sites More sharing options...
mikehunt114 Posted November 21, 2006 Share Posted November 21, 2006 Try: RunWait(@COMSPEC & " /c Start filename.chm") IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font] Link to comment Share on other sites More sharing options...
PantZ4 Posted November 21, 2006 Author Share Posted November 21, 2006 (edited) Try: RunWait(@COMSPEC & " /c Start filename.chm")Nope Didn't work Edited November 21, 2006 by Mr. Zero Link to comment Share on other sites More sharing options...
Valuater Posted November 21, 2006 Share Posted November 21, 2006 (edited) maybe... $my_file = FileGetShortName("C:\Program Files\Autoit3\Autoit.chm") RunWait(@COMSPEC & " /c Start " & $my_file) the file MUST exist 8) Edited November 21, 2006 by Valuater Link to comment Share on other sites More sharing options...
PantZ4 Posted November 21, 2006 Author Share Posted November 21, 2006 maybe... $my_file = FileGetShortName("C:\Program Files\Autoit3\Autoit.chm") RunWait(@COMSPEC & " /c Start " & $my_file) the file MUST exist 8) Oh thank you Link to comment Share on other sites More sharing options...
Valuater Posted November 21, 2006 Share Posted November 21, 2006 Welcome 8) Link to comment Share on other sites More sharing options...
Helge Posted November 21, 2006 Share Posted November 21, 2006 ShellExecute (beta only I believe) would be a nicer approach if you ask me Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted November 21, 2006 Moderators Share Posted November 21, 2006 Beta + ShellExecute("C:\Program Files\AutoIt3\AutoIt3.chm") 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. Link to comment Share on other sites More sharing options...
GaryFrost Posted November 21, 2006 Share Posted November 21, 2006 http://www.autoitscript.com/forum/index.ph...st&p=269476 SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Valuater Posted November 21, 2006 Share Posted November 21, 2006 http://www.autoitscript.com/forum/index.ph...st&p=269476Nice one Gary8) Link to comment Share on other sites More sharing options...
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