PantZ4 Posted November 21, 2006 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
mikehunt114 Posted November 21, 2006 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]
PantZ4 Posted November 21, 2006 Author Posted November 21, 2006 (edited) Try: RunWait(@COMSPEC & " /c Start filename.chm")Nope Didn't work Edited November 21, 2006 by Mr. Zero
Valuater Posted November 21, 2006 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
PantZ4 Posted November 21, 2006 Author 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
Helge Posted November 21, 2006 Posted November 21, 2006 ShellExecute (beta only I believe) would be a nicer approach if you ask me
Moderators SmOke_N Posted November 21, 2006 Moderators 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.
GaryFrost Posted November 21, 2006 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.
Valuater Posted November 21, 2006 Posted November 21, 2006 http://www.autoitscript.com/forum/index.ph...st&p=269476Nice one Gary8)
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