Jump to content
Sign in to follow this  

AutoIt and Python/Tkinter/Pmw

Recommended Posts


Using AutoIt with Python/Tkinter/Pmw


I am trying to use AutoIt with Python, Tkinter and Pmw in windows. When I use the Auto Win Info it does identifies widgets correctly on the screen. There is basically only one class TkChild for all widgets. Widgets are distinguished by instance number. I tired to sent click to the widgets using various variations of the Control Click command, but none would work. Here are examples:

ControlClick("tk", "", "[Class:TkChild; Instance:31]", "left", 2)

ControlClick("tk", "", "[CLASSNN:TkChild31]")

ControlClick("[TITLE:tk; CLASS:TkTopLevel]", "", "[CLASSNN:TkChild31]")

This method works fine (with proper class and instance names) with window application or even Qt application for windows. But I can not get it to work with python/tkinter application under windows.

Any suggestion how to get this to work?

Thank you,


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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.