and if you select 2 checkbox, another message will be , e.g. MsgBox 2 ? ? ? ? ?
CODE:
Code: Select all
Gui Font, s10 Bold, Arial
Gui Add, Text, x3 y1 w34 h23 +0x200, bind
Gui Font
Gui Add, Edit, gZapisz gstart x36 y3 w30 h21
Gui Font, s10 Bold, Arial
Gui Add, Text, x3 y80 w29 h23 +0x200, on1
Gui Font
Gui Add, CheckBox, von1 x30 y81 w17 h22
Gui Font, s10 Bold, Arial
Gui Add, Text, x3 y108 w27 h23 +0x200, on2
Gui Font
Gui Add, CheckBox, x31 y110 w19 h23
Gui Show, w322 h248, Window
Return
Zapisz:
Gui, Submit, NoHide
Hotkey, %start%, start
return
start:
if(on1 = 1)
{
MsgBox, On
}
if(on2 = 2)
MsgBox, On2
return
[Mod edit: Added [code][/code] tags. Please use them yourself when posting code!]