Local $size = WinGetPos($QQtitle)
Select
Case $size[3] = 312
Sleep(2000)
Case $size[3] = 312
Sleep(2000)
Case $size[3] = 312
Sleep(2000)
Case $size[3] = 312
Sleep(2000)
Case $size[3] = 312
Sleep(2000)
Case $size[3] = 312
Sleep(2000)
Case Else
Local $size = WinGetPos($QQtitle)
Select
Case $size[3] = 312
Sleep(2000)
Case $size[3] = 312
Sleep(2000)
Case $size[3] = 312
Sleep(2000)
Case $size[3] = 312
Sleep(2000)
Case $size[3] = 312
Sleep(2000)
Case $size[3] = 312
Sleep(2000)
Case Else
Local $size = WinGetPos($QQtitle)
If $size[3] > 400 And $size[1] <> 812 And $size[0] <> 1000 Then
Sleep(500)
Else
Sleep(5000)
EndIf
$QQWINList = WinList($QQtitle)
For $Qwl = 1 To $QQWINList[0][0]
$QQWINPOS = WinGetPos($QQWINList[$Qwl][1])
If Not @error Then
ControlClick($QQWINList[$Qwl][1], '', '', 'left', 1, $QQWINPOS[2] - 50, 10)
EndIf
Next