Jump to content

IE11 automate link download object is perfect except when scrolling is needed


Recommended Posts

Internet Explorer 11, AutoIt 3.3.14.2

I want to download many files which are published with hyperlink on a web page. I use AutoIt and when there is a few files, it works even if It's on a website with secured links.

I have a script to download link items with the object method (I gave a partial sample), but when the number of link exceed the web page, there is not an auto scroll, then the links which are not on displayed without scroll are not downloaded.

Thank you

From France

 

 

EchantillonRecepAnonym.au3

Link to comment
Share on other sites

Thank you for the principle, but i have already tested this

_IEAction($oLink, "scrollintoview")

with those following lines:

$iScreenX = _IEPropertyGet($oLink, "screenx")
$iScreenY = _IEPropertyGet($oLink, "screeny")
MouseMove($iScreenX, $iScreenY)

but I noticed a mouse offset for the mouse's position!

Link to comment
Share on other sites

It's all right without use the mouse (MouseMove which move the mouse with a bad position and doesn't take care about the previous scrollintoview), neither MouseMove neither Mouseclick

Thank you

Edited by slidy56fr
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

×
×
  • Create New...