Code: Select all
INS::
Loop
{
Send, {Blind}{MButton down}
sleep 15000
Send, {Blind}{MButton up}
sleep 5000
}
return
END:: ExitApp
Кнопка END выключает скрипт
Code: Select all
INS::
Loop
{
Send, {Blind}{MButton down}
sleep 15000
Send, {Blind}{MButton up}
sleep 5000
}
return
END:: ExitApp
Code: Select all
; If the LButton was pressed, it is pressed indefinitely. If you click it again, LButton is not pressed
*~$LButton::
Loop
{
Send, {Click}
sleep 1
if GetKeyState("LButton")
break
}
Return
~*End::ExitApp
return
~*Home::Reload
return
~*Ins::Pause
return
Code: Select all
; If the Button is pressed, it is pressed indefinitely. If you release it, the button will not be pressed
*~$LButton::
Loop
{
GetKeyState, LButtonState, LButton, P
Send, {Click}
sleep 1
}
Return
*~$LButton UP:: Reload
~*End::ExitApp
return
~*Ins::Pause
return