Jump to content

AutoIt Windown Info detect correct position but WinGetPos always return wrong position

Recommended Posts

I have a software to load code to boarder. It's name is ISD_VPE2100 (link: ISD_VPE2100 win7 32bit).

I use AutoIt Windown Info to find position of this GUI, it returns correct position. But when I use WinGetPos  to view postion it always return a fix position.

I also try to get $hWnd by class: CVIRTLVDChild4194304 as Auto Windown Info show, it is still not change.


I would like to know if this software prevent AutoIt detect or prevent AutoIt control form?

I try with WinMove for this software, it is also not change position on screen.


My purpose is always auto click a right button on this software that not depend on software's position or screen resolution.

Please help! 


Link to post
Share on other sites

Are you scaling your desktop ?  If so try on 100% scale. 

Could you also check for errors on wingethandle ?

Edited by Nine
Link to post
Share on other sites
  • 2 weeks later...

Out of curiosity, do a winlist(your title here) and see how many windows match...then loop through that array, and get the positions of each window's handle.

It's very likely that you exe has some additional window that it hides off of screen.  It probably includes an odd class.

Another quick check of this would be to output your window handle to the console, and see if it's the same handle as the spy tool.

Edited by jdelaney
IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Link to post
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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...