I'm handling multiple firefox windows with autoit through the function Winlist('Mozilla Firefox").
But when Firefox isn't connected to internet or has a connection error, Winlist("Mozilla Firefox") doesn't get
that firefox window as an active window for some reason although the title is: "Problem loading page - Mozilla Firefox".
AutoitCode doesn't add the Tabs to align the code it seems....
But when Firefox isn't connected to internet or has a connection error, Winlist("Mozilla Firefox") doesn't get
that firefox window as an active window for some reason although the title is: "Problem loading page - Mozilla Firefox".
AutoitCode doesn't add the Tabs to align the code it seems....
[ autoit ]
Func MakeHandles() Local $var = WinList("Mozilla Firefox") Local $List[$windows + 1] $total = 0 For $i = 1 To $var[0][0] If IsVisible($var[$i][1]) Then $list[$total + 1] = $var[$i][1] $total = $total + 1 EndIf Next $list[0] = $total Return $List EndFunc Func IsVisible($handle) If BitAND(WinGetState($handle), 2) Then Return 1 Else Return 0 EndIf EndFunc