Тема: AHK: DropDownList изменение назначенных выборов
Hotkey, *~$LButton, OFF
Gui, LAUNCHER: Add, DDL, vHPHotKey gSubmitHotKey, *MButton|*XButton1|*XButton2
Gui, LAUNCHER: Show
GuiControl, LAUNCHER: Choose, HPHotKey, |1|2|3|
return
GuiClose:
ExitApp
count = 50
*~$LButton::
Loop
{
GetKeyState, LButtonState, LButton, P
If LButtonState = U
break
SetBatchLines, 11
SetMouseDelay, 0
t_i := A_TickCount
Random, Rand, 1, 10
sleep % Rand + 8
Click Left
}
return
SubmitHotKey:
if HPHotKey
Hotkey,% HPHotKey, HPHotKey, Off
Gui, Submit, NoHide
Hotkey,% HPHotKey, HPHotKey, on
return
HPHotKey:
Hotkey, *~$LButton, toggle
Return