Jump to content

Run("iexpore.exe") problem.


Recommended Posts

My script is simply

Run("iexpore.exe")

When ever I try this once compiled or when I hit Go (F5) it doesn't open. Although Run("notepad.exe") does. I also tried opera.exe and it wouldn't open? Anyone know a cause?

Link to comment
Share on other sites

My script is simply

Run("iexpore.exe")

When ever I try this once compiled or when I hit Go (F5) it doesn't open. Although Run("notepad.exe") does. I also tried opera.exe and it wouldn't open? Anyone know a cause?

Try this:

Run(@ProgramFilesDir & "\Internet Explorer\iexplore.exe")
Link to comment
Share on other sites

Or maybe better way is to use _IECreate ?

IECreate

--------------------------------------------------------------------------------

Create an Internet Explorer Browser window.

You can add there start www page etc. etc.

eg.

#include <IE.au3>
_IECreate ("www.autoitscript.com")
Edited by Sobiech

This world is crazy

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...