Matthy Posted January 18, 2010 Posted January 18, 2010 _IELinkClickByText ($oIE, "myDELISprint") $oIE2 = _IEAttach("DPD MyDELISprint") $oForm = _IEFormGetObjByName($oIE2, "frmVersandauftrag", 0) the link i click opens in a new window and i want to control that window of what i am clicking. what am i doing wrong IEAttach should work rigth? is it else posible to not open that link in a new window thanks matthy
PsaltyDS Posted January 19, 2010 Posted January 19, 2010 _IELinkClickByText ($oIE, "myDELISprint") $oIE2 = _IEAttach("DPD MyDELISprint") $oForm = _IEFormGetObjByName($oIE2, "frmVersandauftrag", 0) the link i click opens in a new window and i want to control that window of what i am clicking. what am i doing wrong IEAttach should work rigth? is it else posible to not open that link in a new window thanks matthyYou are probably trying to connect to it too quickly. Put in a reasonable sleep, or run _IEAttach() in a loop until it connects. With that other IE instance open already, also verify that your _IEAttach() works with that document title. You might want "WindowTitle" vice the default (document) "title". See the help file under _IEAttach(). Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
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