Как галочкам присваивать значения? Стоит галочка - значение 1, не стоит - 0.
Код:
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <ButtonConstants.au3>
Example()
Func Example()
$all=GUICreate("Тестирование", 600, 600)
$group_1 = GUICtrlCreateGroup("Все персонажи", 30, 20, 125, 100)
GUIStartGroup()
$pers_001=GUICtrlCreateCheckbox("sor", 50, 50, 100, 20)
$pers_002=GUICtrlCreateCheckbox("GeL", 50, 70, 100, 20)
$pers_003=GUICtrlCreateCheckbox("Air", 50, 90, 100, 20)
$exit=GUICtrlCreateButton("Exit", 50, 500, 60)
$next=GUICtrlCreateButton("Next >>>", 500, 500, 60)
$pers_Val = 0
GUISetState()
While 1
$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Select
Case $msg=$next
MsgBox (64, ' ', 'Значение: ' & $pers_Val)
Case $msg=$exit
Exit
EndSelect
WEnd
EndFunc