Jump to content

open IEXPLORE.EXE with Run-Command


con1
 Share

Recommended Posts

Hello,

is there a way to send commands, like _IENavigate, _IEAction, _IEImgClick ...

... to an IEXLORE-window that was opened with a Run-Command?

This Script does not work:

#include <IE.au3>

$IE = Run(@ProgramFilesDir & "\Internet Explorer\IEXPLORE.EXE")

Sleep(1000)

_IENavigate ($IE, "http://www.autoitscript.com/forum/index.php?")

Thanks

con1

Link to comment
Share on other sites

hello,

this script works, but it only navigate to msn.com then it just stops, why??? (tested on Vista, IE7)

#include <IE.au3>

Run(@ProgramFilesDir & "\Internet Explorer\IEXPLORE.EXE")

WinWait("Blank Page - Windows Internet Explorer","Favorites Command Ba")
If Not WinActive("Blank Page - Windows Internet Explorer","Favorites Command Ba") Then WinActivate("Blank Page - Windows Internet Explorer","Favorites Command Ba")
WinWaitActive("Blank Page - Windows Internet Explorer","Favorites Command Ba")

$OBJECT = _IEAttach ("Blank Page - Windows Internet Explorer", "embedded")

_IENavigate ($OBJECT, "http://msn.com")
_IELoadWait ($OBJECT)
_IENavigate ($OBJECT, "http://google.com")
_IELoadWait ($OBJECT)
Link to comment
Share on other sites

got it...

#include <IE.au3>

Run(@ProgramFilesDir & "\Internet Explorer\IEXPLORE.EXE")

WinWait("Blank Page - Windows Internet Explorer","Favorites Command Ba")

If Not WinActive("Blank Page - Windows Internet Explorer","Favorites Command Ba") Then WinActivate("Blank Page - Windows Internet Explorer","Favorites Command Ba")

WinWaitActive("Blank Page - Windows Internet Explorer","Favorites Command Ba")

$oIE = _IEAttach ("", "instance",1)

_IENavigate ($oIE, "http://msn.com/")

_IELoadWait ($oIE)

_IENavigate ($oIE, "http://google.com/")

_IELoadWait ($oIE)

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...