eikenberg Posted January 16, 2020 Share Posted January 16, 2020 Hello, i tried to automate an windows application. But every time i want to click a button with ControlClick the Button is just highlighted. Returncode is success (1). So i tried to do it with python and pywinauto, i have the same problem till i got there is difference between old and new guis: https://pywinauto.readthedocs.io/en/latest/getting_started.html I switched to MS UI Automatation and it works. Where is the switch in autoit to change from win32 to uia? I still want to use autoit. Link to comment Share on other sites More sharing options...
Earthshine Posted January 16, 2020 Share Posted January 16, 2020 (edited) there is no switch, you need to learn how to do uia in autoit Using UI Automation Code in AutoIt - Page 6 - AutoIt Example Scripts - AutoIt Forums UIASpy - UI Automation Spy Tool - Page 5 - AutoIt Example Scripts - AutoIt Forums UI Automation Events - AutoIt Example Scripts - AutoIt Forums Also read FAQ 31 on the Wiki Edited January 16, 2020 by Earthshine junkew and eikenberg 1 1 My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
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