clearguy Posted July 3, 2006 Share Posted July 3, 2006 How to execute a HTML file ? I tried this: Run("C:\Program Files\Internet Explorer\IEXPLORE.EXE" "my.html") any help? thanx I've never met anyone who codes binary. StringMultiInsert()SOW EncryptFrench autoit forum - forum français Link to comment Share on other sites More sharing options...
randall Posted July 3, 2006 Share Posted July 3, 2006 (edited) type in _RunDos in the autoit help Edited July 3, 2006 by randall Link to comment Share on other sites More sharing options...
jezzzzy Posted July 3, 2006 Share Posted July 3, 2006 How to execute a HTML file ? I tried this: Run("C:\Program Files\Internet Explorer\IEXPLORE.EXE" "my.html") any help? thanx Try with single quotes like this: run('"C:\Program Files\Internet Explorer\IEXPLORE.EXE" "my.html"') Link to comment Share on other sites More sharing options...
Josbe Posted July 3, 2006 Share Posted July 3, 2006 How to execute a HTML file ? I tried this: Run("C:\Program Files\Internet Explorer\IEXPLORE.EXE" "my.html") any help? thanxAnd what? Any error? If you use IE, must be work this alternative, (with a comma between args): Run("C:\Program Files\Internet Explorer\IEXPLORE.EXE", "my.html") AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
jezzzzy Posted July 3, 2006 Share Posted July 3, 2006 And what? Any error? If you use IE, must be work this alternative, (with a comma between args): Run("C:\Program Files\Internet Explorer\IEXPLORE.EXE", "my.html")That comma will probably throw an error in the Run() function. Link to comment Share on other sites More sharing options...
WTS Posted July 3, 2006 Share Posted July 3, 2006 even better .. RunWait(@ComSpec & " /C " & 'my.html', "", @SW_HIDE) Link to comment Share on other sites More sharing options...
clearguy Posted July 3, 2006 Author Share Posted July 3, 2006 Try with single quotes like this: run('"C:\Program Files\Internet Explorer\IEXPLORE.EXE" "my.html"')That works great! That comma will probably throw an error in the Run() function.Yes it does even better .. RunWait(@ComSpec & " /C " & 'my.html', "", @SW_HIDE)I thought about using a macro command,but didn't found... Thank you all I've never met anyone who codes binary. StringMultiInsert()SOW EncryptFrench autoit forum - forum français Link to comment Share on other sites More sharing options...
w0uter Posted July 3, 2006 Share Posted July 3, 2006 (edited) check _INetBrowse from my sig it has like 4 ways. Edited July 3, 2006 by w0uter My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
herewasplato Posted July 3, 2006 Share Posted July 3, 2006 That comma will probably throw an error in the Run() function.Not if you have a folder named "my.html" in the same folder that the script runs from. :-) Run("C:\Program Files\Internet Explorer\IEXPLORE.EXE", "my.html")Run("filename", "workingdir") [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
WTS Posted July 3, 2006 Share Posted July 3, 2006 check _INetBrowse from my sig it has like 4 ways.nice.. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted July 3, 2006 Moderators Share Posted July 3, 2006 check _INetBrowse from my sig it has like 4 ways.I'll have to sticky that myself as many times as this type of question is asked, but if they want to make sure IE is running to use IE.au3 some of these options seem viable to me. 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...
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