Помогите написать скрипт если это возможно со следующей функцией. При нажатие 1 раза скажем пробела чтобы он симулировал нажатия клавиши "q" а при повторном нажатии симулировал нажатие клавиши "w" а при третьем нажатии симулировал клавишу "e", при четвёртом нажатие скрипт должен стартовать сначала то есть как при первом клике должен симулировать нажатия "q" если после какого-нибудь нибудь нажатия не последует следующие нажатия в течении 3 сек скрипт должен ресетнутца.
Спасибо заранее за вашу помощь.
помогите! Topic is solved
Re: помогите!
Space::
Button1:
SetTimer, Reload, off
SendInput q
Hotkey, Space, Button2
Hotkey, Space, on
SetTimer, Reload, 3000
return
Button2:
Hotkey, Space, Off
if (A_TimeSincePriorHotkey < 3000)
{
SetTimer, Reload, off
Sendinput w
Hotkey, Space, Button3
Hotkey, Space, On
SetTimer, Reload, 3000
}
return
Button3:
Hotkey, Space, Off
if (A_TimeSincePriorHotkey < 3000)
{
SetTimer, Reload, off
Sendinput e
Hotkey, Space, Button1
Hotkey, Space, On
SetTimer, Reload, 3000
}
return
Reload:
Reload
return
Button1:
SetTimer, Reload, off
SendInput q
Hotkey, Space, Button2
Hotkey, Space, on
SetTimer, Reload, 3000
return
Button2:
Hotkey, Space, Off
if (A_TimeSincePriorHotkey < 3000)
{
SetTimer, Reload, off
Sendinput w
Hotkey, Space, Button3
Hotkey, Space, On
SetTimer, Reload, 3000
}
return
Button3:
Hotkey, Space, Off
if (A_TimeSincePriorHotkey < 3000)
{
SetTimer, Reload, off
Sendinput e
Hotkey, Space, Button1
Hotkey, Space, On
SetTimer, Reload, 3000
}
return
Reload:
Reload
return
Who is online
Users browsing this forum: No registered users and 29 guests