Jump to content

Not scrolling exact position


Recommended Posts

Hi, I am working on automatiing the input of basic datas on a software. The window of the software is quite long (I would say someting like 800 px by 1600 px), from my screen, I have to scroll down to go to a few checkboxes. Approximately, in absolute value from the upper left corner of the window of my software, the check boxes are located at (200, 200) (200, 400) (200, 600) (200, 800) (200, 1000). As my screen is about 760 px in height, I have to scroll down for the last checkboxes...

I would like to automate it for a couple of computers and then a couple of screens (bigger and smaller than mine). So the easy way would be to program a scrolling down and then calculte the new coordinates from there and go for a mousclick. But the new coordinate will be different from a computer to another and I don't want to program every coordinate for every computer.

So how can I go to click any checkbox independantly of the size of the screen? I would add that  "AutoIt V3 Window info" gives me only two types of coordinates : Mouse position and Control Click Coord and both of them don't give the same value if I scroll down...

Thanks!

 

 

 

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