trung0407 Posted November 4, 2007 Share Posted November 4, 2007 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 Link to comment Share on other sites More sharing options...
Nahuel Posted November 4, 2007 Share Posted November 4, 2007 _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. 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