Jump to content

WinActivate doesn't function correctly neither in version 3.3.16.1...


Recommended Posts

All,

problems with WinActivate started when I downloaded and installed AutoIt 3.3.16.0. I posted a question, and the answer was that the RegEx was broken in 3.3.16.0 and to install Beta or wait for the 3.3.16.1. I opted to wait for the 3.3.16.1 and now I tried again.

When I noticed that the problem persists, I used the simple script below, launched from the latest Scite released, and replicated the problem.

The Chrome version is 105.0.5195.127 (Official Build ) (64 bit); the Windows 10 version is Enterprise, 21H2 build OS 19044.2006.

MsgBox(0, "Version", @AutoItVersion)    ;version 3.3.16.1

;~ Fails to activate Chrome but returns a valid window handle.
$hndwin = WinActivate("[CLASS:Chrome_WidgetWin_1]")
MsgBox(0,1,$hndwin)

;~ Activates Chrome and returns a valid window handle.
AutoItSetOption("WinTitleMatchMode",2)
$hndwin = WinActivate("Google Chrome","")
MsgBox(0,2,$hndwin)

Is it a Chrome problem, a Windows 10 problem, or an Autoit problem, or I misunderstood something?

Thanks!

Bruno

Link to post
Share on other sites

The result is an empty string... Anyway, when I shutdown Chrome and I run winlist again, the _arraydisplay continues to show Tray Assistant, and the only candidate for it is Tray Assistant of the Dropbox which is visible in windows as a process but not visible among tray icons. When I shut it down, the Tray Assistant entry doesn't appear.

What is strange is that Dropbox has nothing to do with Chrome_Widget_Win_1...!

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...