Код:
for $i = 1 to 9
HotKeySet ($i, '_sectors_selection')
ConsoleWrite ('hotkey ' &$i& ' set' &@LF)
next
ConsoleWrite ('Waiting for selection' &@LF)
Func _sectors_selection()
Select
case @HotKeyPressed = 1 Or 2 OR 3 or 5 or 7
ConsoleWrite ('group 1'&@LF)
case @HotKeyPressed = 4 or 6 or 8
ConsoleWrite ('group 2'&@LF)
case @HotKeyPressed = 9
ConsoleWrite ('group 3'&@LF)
EndSelect
EndFunc
Do
Until GUIGetMsg() = -3
Всё время выбирает группу 1, какой бы хоткей не нажал. Что я не так делаю?