Jump to content
Sign in to follow this  
Kiemnx

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! 

screen.png

Share this post


Link to post
Share on other sites

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.

Share this post


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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...