Hey everyone.
I got a problem with some HotKeySet Functions in combination with checkboxes. I'll only post one of the Functions because they are all pretty similar and the code is about 600 Lines long.
Func _HKoff() GUICtrlSetState($Checkbox1, $GUI_UNCHECKED) GUICtrlSetState($Checkbox2, $GUI_UNCHECKED) GUICtrlSetState($Checkbox3, $GUI_UNCHECKED) GUICtrlSetState($Checkbox4, $GUI_UNCHECKED) GUICtrlSetState($Checkbox5, $GUI_UNCHECKED) GUICtrlSetData($l1," ") GUICtrlSetData($l2," ") GUICtrlSetData($l3," ") GUICtrlSetData($l4," ") GUICtrlSetData($l5," ") EndFunc HotKeySet("{F6}",_HKoff())
It doesn't uncheck the Boxes and doesn't seem to be working at all. Is there a mistake in the code or am i just too stupid?