kiboost Posted October 10, 2017 Share Posted October 10, 2017 Hi, I'm using this code for years in python 2.7 x64 and it works fine: from win32com.client import Dispatch # AutoIt python binding autoit = Dispatch("AutoItX3.Control") if autoit.WinExists("[CLASS:#32770]") title = autoit.WinGetTitle("[CLASS:#32770]") Now, with python 3.6 x64, WinExists find the class, but WinGetTitle just return an empty string. If I pass a string title (not [CLASS:...], WinGetTitle return a correct title string Am I missing something ? Thanks Win7 pro x64. scripts compiled to x64. - Autoit v3.3.6.1 | Scite 1.79 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