royalmarine

Auto IT V3 Window info tool issue

2 posts in this topic

#1 ·  Posted (edited)

Hi all,

When I run autoIT v3 Window info tool, and use spy to get info on a button, it works fine in Windows x86, but not x64.

Has anyone seen this before?

I began developing my program on x86, however due to resource requirements, I need to do it on x64

 

Main info that I'm missing is Advanced (Class):    [NAME:buttonInit]

Obviously using this as the controlID for ControlClick is vital, so without it, I'm stuck :/

All info given in x64 is as follows

Quote

>>>> Window <<<<

Title:    test.map 

Class:    WindowsForms10.Window.8.app.0.378734a

Position:    830, 501 Size:    1279, 998

Style:    0x16CF0000

ExStyle:    0x00050100

Handle:    0x0000000000040260

>>>> Control <<<<

Class:    WindowsForms10.BUTTON.app.0.378734a

Instance:    9

ClassnameNN:    WindowsForms10.BUTTON.app.0.378734a9

Name:    

Advanced (Class):    [CLASS:WindowsForms10.BUTTON.app.0.378734a; INSTANCE:9]

ID:    66464

Text:    Init

Position:    205, 315

Size:    91, 41

ControlClick Coords:    51, 25

Style:    0x5601000B

ExStyle:    0x00000000

Handle:    0x00000000000103A0

 

While in x86, I get the following

 

Quote

>>>> Window <<<<

Title:    test.map

Class:    WindowsForms10.Window.8.app.0.378734a

Position:    248, 0 Size:    1279, 977

Style:    0x16CF0000

ExStyle:    0x00050100

Handle:    0x00020368

>>>> Control <<<<

Class:    WindowsForms10.BUTTON.app.0.378734a

Instance:    9

ClassnameNN:    WindowsForms10.BUTTON.app.0.378734a9

Name:    buttonInit

Advanced (Class):    [NAME:buttonInit]

ID:    66552

Text:    Init

Position:    205, 315

Size:    91, 41

ControlClick Coords:    63, 32

Style:    0x5601000B

ExStyle:    0x00000000

Handle:    0x000103F8

 

Edited by royalmarine

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Interesting behavior.  Just for my understanding, when you say it works in Windows x86 but not x64, do you mean the OS platform, or the AutoIt Interpreter & Window Info tool?

Not sure what application you are automating, so I can't test, but to offer a method--Any of the following options work for you?

;Tailored from Help File Example - https://www.autoitscript.com/autoit3/docs/intro/controls.htm

ControlClick("My Window", "", "[CLASS:WindowsForms10.BUTTON.app.0.378734a; TEXT:Init; INSTANCE:9]")

 

Edited by spudw2k

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