bobheart Posted May 27, 2004 Share Posted May 27, 2004 Run("E:\Programs\AutoIt3\AutoIt.chm", "", @SW_MAXIMIZE) This didn't work . Link to comment Share on other sites More sharing options...
emmanuel Posted May 27, 2004 Share Posted May 27, 2004 run(@windowsdir & "hh.exe E:\Programs\AutoIt3\AutoIt.chm", "", @SW_MAXIMIZE) you need to specify what to open it with. "I'm not even supposed to be here today!" -Dante (Hicks) Link to comment Share on other sites More sharing options...
bobheart Posted May 27, 2004 Author Share Posted May 27, 2004 Oh I see .. ok .. thank you .. Link to comment Share on other sites More sharing options...
bobheart Posted May 27, 2004 Author Share Posted May 27, 2004 Well that is odd ? --------------------------- AutoIt Error --------------------------- Line 1 (File "E:\Programs\AutoIt3\Examples\English\5_24\5_26\runAutoIt.chm.au3"): run(@windowsdir & "hh.exe E:\Programs\AutoIt3\AutoIt.chm", "", @SW_MAXIMIZE) Error: Unable to execute the external program. The system cannot find the file specified. --------------------------- OK --------------------------- Link to comment Share on other sites More sharing options...
emmanuel Posted May 27, 2004 Share Posted May 27, 2004 hmmm... I know that hh.exe opens chm files in winxp/2000, I don't know what opens it in earlier versions.... you can check the file association of chm... I'll tell you how if you need it "I'm not even supposed to be here today!" -Dante (Hicks) Link to comment Share on other sites More sharing options...
bobheart Posted May 27, 2004 Author Share Posted May 27, 2004 I have XP and there is a hh.exe in windows ( i looked) so what could it be ? Link to comment Share on other sites More sharing options...
emmanuel Posted May 27, 2004 Share Posted May 27, 2004 doh! I realized it...run(@windowsdir & "\hh.exe E:\Programs\AutoIt3\AutoIt.chm", "", @SW_MAXIMIZE) "I'm not even supposed to be here today!" -Dante (Hicks) Link to comment Share on other sites More sharing options...
bobheart Posted May 27, 2004 Author Share Posted May 27, 2004 That did it .. 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