stompbox 0 Posted December 10, 2004 Hi, New user here. Just trying to run a document under XP (SP1). For example, can someone show me how to run the file: C:\Program Files\AutoIt3AutoIt.chm Yes, I did try the FAQ and directly copying the example results in errors in XP. (Incorrect Command Line Parameters) Thanks! Share this post Link to post Share on other sites
stompbox 0 Posted December 10, 2004 Wow, I guess the FAQ is a little out of date. Thanks for the help. In my specific example, I got away with the following code. As you can see all it does is lookup a selected command in my script editor. send("^c") if processExists("hh.exe") then winactivate("AutoIt Help") else run("hh.exe C:\Program Files\AutoIt3\AutoIt.chm") processWait("hh.exe") endif send("{ALT}s") send("^v{ENTER}") Share this post Link to post Share on other sites
Jos 2,170 Posted December 10, 2004 (edited) As you can see all it does is lookup a selected command in my script editor.<{POST_SNAPBACK}>Which script editor are you using? . most editors i've seen have some sort of F1 integration for syntax lookup that jump right to the command selected. Edited December 10, 2004 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Share this post Link to post Share on other sites
Nova 0 Posted December 10, 2004 How About Run('hh "C:\Program Files\AutoIt3\AutoIt.chm"', @SystemDir, @SW_MAXIMIZE) Share this post Link to post Share on other sites
stompbox 0 Posted December 10, 2004 Which script editor are you using? . most editors i've seen have some sort of F1 integration for syntax lookup that jump right to the command selected.<{POST_SNAPBACK}>Thanks!I was writing my own editor for fun. Shows you how much I know. So you hit F1 and it looks up the command in the AutoIt Help? Cool! Share this post Link to post Share on other sites
Jos 2,170 Posted December 10, 2004 Thanks!I was writing my own editor for fun. Shows you how much I know. So you hit F1 and it looks up the command in the AutoIt Help? Cool!<{POST_SNAPBACK}>So what do you use to write your own editor ??? When you are interested install the SciTE4AutoIt3 stuff ... will give you some ideas for your own editor .... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Share this post Link to post Share on other sites
stompbox 0 Posted December 10, 2004 So what do you use to write your own editor ??? When you are interested install the SciTE4AutoIt3 stuff ... will give you some ideas for your own editor .... <{POST_SNAPBACK}>COOL! I don't need mine. I was writing a small utility in REALBasic.Thanks!!!! Share this post Link to post Share on other sites