royalmarine Posted November 23, 2016 Posted November 23, 2016 (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 November 23, 2016 by royalmarine
spudw2k Posted December 20, 2016 Posted December 20, 2016 (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 December 20, 2016 by spudw2k Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now