enaiman Posted April 6, 2009 Share Posted April 6, 2009 Hello, I've been wondering if IE can auto-scroll the page down when _IEDocInsertText is used. Like in this example: #include <IE.au3> $oIE = _IE_Example ("basic") $oBody = _IETagNameGetCollection($oIE, "body", 0) _IEDocInsertText($oBody, "This Text is inserted After Begin", "afterbegin") Sleep(1000) For $i=1 to 50 _IEDocInsertText($oBody, "//\\ 12345678901234567890//\\", "beforeend") Sleep(100) Next Can it continuously scroll down? Thank you, SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) Link to comment Share on other sites More sharing options...
Authenticity Posted April 6, 2009 Share Posted April 6, 2009 Yes #include <IE.au3> Dim $oIE = _IECreate('http://www.autoitscript.com/') Dim $oWindow = $oIE.document.parentWindow For $i = 1 To 10 $owindow.ScrollBy(0, 25) Sleep(300) Next Link to comment Share on other sites More sharing options...
enaiman Posted April 6, 2009 Author Share Posted April 6, 2009 Wonderful solution Thanks alot. SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) 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