WinActivate("[CLASS:Chrome_WidgetWin_1]")
This function (or the use of such) does not work well.
I mean Chrome window appears but is not active.
Clicking on it only makes the window that you can use the Send ("{F5}")
ps.
I know the there is new cool UDF for Chrome.
But the problem is not the automation of Chrome but the very fact that he first met to WinActivate not done what was assumed to do.
WinActivate("Total Commander")
ConsoleWrite('TEST 0 = ' & WinGetState("Total Commander") &am