Jump to content

Recommended Posts

Posted

So i have a internet explorer windows already opened. What i want is to get the object variable determined by that windows, then tell it to navigate to a specific page, using javascript code:

$a = ObjGet("IEXPLORE.EXE", "IEFrame.Internet Explorer_Server")

_IENavigate($a, "java script: void(window.location = ......);")

Can someone help me what's wrong with the code?

Thx <_<

Posted

_IENavigate() requires a link.

Save yourself some work and do _IEAttach() instead of ObjGet()

Use _IELinkClickByText() for that Javascript link. Or if it's a button use _IEGetObjByName() and then _IEAction() to click it.

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
×
×
  • Create New...