CodeScripter Posted January 22, 2008 Share Posted January 22, 2008 Using AutoIt with Python/Tkinter/Pmw Hi, 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, Bob 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