Jump to content

Recommended Posts

Posted

I'm currently trying to automate a simple browsing program that will continually skip through images on a site in the background while I'm doing other things on my computer. I know there are simpler alternatives like Tab + Enter to skip to the next image but something that really irked me was getting controlclick to work properly. I've searched up and down and can't find a straight forward way to get coordinates(static) within a window. I want to be able to move the window around,minimize it possibly, etc. Are there any simple scripts or commands for getting window coordinates?

Posted

Eh, It gives mouse coords in relation to the desktop, not the active window. This really is a pain, you'd think it would be such a simple thing to find out xD.

Posted

Eh, It gives mouse coords in relation to the desktop, not the active window. This really is a pain, you'd think it would be such a simple thing to find out xD.

WinGetPos Retrieves the position and size of a given window.

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Posted

Yeah guys, controlclick seems to be the issue. It's just not clicking the window, inactive or active. Thanks for the help though, I learned a few things thanks to you.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...