Jump to content
Sign in to follow this  
Draegon

Run("iexpore.exe") problem.

Recommended Posts

Draegon

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?

Share this post


Link to post
Share on other sites
1957classic

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")

Share this post


Link to post
Share on other sites
Sobiech

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

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.