Global $checksys[7] = [6, GUICtrlRead($Checkbox1), GUICtrlRead($Checkbox2), GUICtrlRead($Checkbox3), GUICtrlRead($Checkbox4), GUICtrlRead($Checkbox5), GUICtrlRead($Checkbox6)
Global $checkname[7] = [6, GUICtrlRead($Checkbox1, 1), GUICtrlRead($Checkbox2, 1), GUICtrlRead($Checkbox3, 1), GUICtrlRead($Checkbox4, 1), GUICtrlRead($Checkbox5, 1), GUICtrlRead($Checkbox6, 1)]
Global $lists[7] = [6, $text1, $text2, $text3, $text4, $text5, $text6]
For $i = 1 To $checksys[0] Step 1
For $i = 1 To $checkname[0] Step 1
For $i = 1 To $lists[0] Step 1
$oneElement = _UIA_GetControlTypeElement($oParent, "UIA_TextControlTypeId", $lists[$i])
If IsObj($oneElement) and $checksys[$i]=1 and $lists[$i]=$checkname[$i] Then
MsgBox(4096, "Внимание!", "Найдено-" & $lists[$i])
EndIf
Next
Next
Next