Jump to content

how to click a link that opens in a new window control that window?


Matthy
 Share

Recommended Posts

_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

Link to comment
Share on other sites

_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

You 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().

:D

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