BrunoStivicevic Posted August 19, 2022 Posted August 19, 2022 Hello, I'm running Windows version 21H2 build SO 19044.1889 64bit Enterprise, the latest Autoit x86 v.3.3.16.0 and the latest Chrome 104.0.5112.102 (official build) (64 bit). I've found out that WinActivate("[CLASS:Chrome_WidgetWin_1]", "") doesn't work anymore in my scripts. It seems that the problem is related to the class name. Autoit Window Info however returns the specified class for Chrome. The problem (perhaps) occurred after Windows update from version 19, but I'm not sure as for some months I didn't touch autoit scripts (perfectly working before). By the way, the same problem happens with WinExists(), WinGetHandle() and possibly other commands that use CLASS:. I've found a temporary workaround (using ProcessExists and Opt) but I would prefer to understand why it doesn't work and if it is a bug If ProcessExists("chrome.exe") > 0 then MsgBox(0,"Chrome","esiste") Opt("WinTitleMatchMode", -2) WinActivate("Google Chrome") Opt("WinTitleMatchMode", 1) Else MsgBox(0,"Chrome","non esiste") endif .Thanks Bruno
Zedna Posted August 19, 2022 Posted August 19, 2022 Try with latest 3.3.16.1 rc2 where is this bug fix: AutoIt: - Fixed #3866: REGEXPCLASS broken in 3.3.16.0. See here Resources UDF ResourcesEx UDF AutoIt Forum Search
BrunoStivicevic Posted August 19, 2022 Author Posted August 19, 2022 ok thanks a lot, I will check it ASAP!
ArminLinder Posted December 27, 2022 Posted December 27, 2022 Had the very same problem, and found it fixed in 3.3.16.1 rc2. Great work, guys!
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