Тема: AHK: Не работает ни в каком режиме
Я хотел cделать бота для сбора картошки в игре NEXT RP. Ну и решил сделать работу в свёрнутом режиме. Почитал другие форумы, мануал по АХК, но ничего не работает ни в свёрнутом ни в активном режиме. Пробовал указывать виртуальные коды клавиш.
Center:
Label1:
ControlSend, NEXTRP, {w down}, ahk_exe proxy_sa.exe
sleep, 700
ControlSend, NEXTRP, {w up}, ahk_exe proxy_sa.exe
Sleep, 700
ControlSend, NEXTRP, {alt down}, ahk_exe proxy_sa.exe
sleep, 3600
ControlSend, NEXTRP, {alt up}, ahk_exe proxy_sa.exe
Sleep, 2000
ControlSend, NEXTRP, {w down}, ahk_exe proxy_sa.exe
sleep, 700
ControlSend, NEXTRP, {w up}, ahk_exe proxy_sa.exe
Sleep, 700
ControlSend, NEXTRP, {alt down}, ahk_exe proxy_sa.exe
sleep, 3600
ControlSend, NEXTRP, {alt up}, ahk_exe proxy_sa.exe
Sleep, 2000
ControlSend, NEXTRP, {w down}, ahk_exe proxy_sa.exe
sleep, 700
ControlSend, NEXTRP, {w up}, ahk_exe proxy_sa.exe
Sleep, 1000
ControlSend, NEXTRP, {alt down}, ahk_exe proxy_sa.exe
sleep, 3600
ControlSend, NEXTRP, {alt up}, ahk_exe proxy_sa.exe
Sleep, 2000
ControlSend, NEXTRP, {w down}, ahk_exe proxy_sa.exe
sleep, 700
ControlSend, NEXTRP, {w up}, ahk_exe proxy_sa.exe
Sleep, 700
ControlSend, NEXTRP, {alt down}, ahk_exe proxy_sa.exe
sleep, 3600
ControlSend, NEXTRP, {alt up}, ahk_exe proxy_sa.exe
Sleep, 2000
ControlSend, NEXTRP, {a down}, ahk_exe proxy_sa.exe
sleep, 650
ControlSend, NEXTRP, {a up}, ahk_exe proxy_sa.exe
Sleep, 500
ControlSend, NEXTRP, {s down}, ahk_exe proxy_sa.exe
sleep, 700
ControlSend, NEXTRP, {s up}, ahk_exe proxy_sa.exe
Sleep, 700
ControlSend, NEXTRP, {alt down}, ahk_exe proxy_sa.exe
sleep, 3600
ControlSend, NEXTRP, {alt up}, ahk_exe proxy_sa.exe
Sleep, 2000
ControlSend, NEXTRP, {s down}, ahk_exe proxy_sa.exe
sleep, 700
ControlSend, NEXTRP, {s up}, ahk_exe proxy_sa.exe
Sleep, 700
ControlSend, NEXTRP, {alt down}, ahk_exe proxy_sa.exe
sleep, 3600
ControlSend, NEXTRP, {alt up}, ahk_exe proxy_sa.exe
Sleep, 2000
ControlSend, NEXTRP, {s down}, ahk_exe proxy_sa.exe
sleep, 1000
ControlSend, NEXTRP, {s up}, ahk_exe proxy_sa.exe
Sleep, 1000
ControlSend, NEXTRP, {alt down}, ahk_exe proxy_sa.exe
sleep, 3600
ControlSend, NEXTRP, {alt up}, ahk_exe proxy_sa.exe
Sleep, 2000
ControlSend, NEXTRP, {s down}, ahk_exe proxy_sa.exe
sleep, 700
ControlSend, NEXTRP, {s up}, ahk_exe proxy_sa.exe
Sleep, 700
ControlSend, NEXTRP, {d down}, ahk_exe proxy_sa.exe
sleep, 650
ControlSend, NEXTRP, {d up}, ahk_exe proxy_sa.exe
Sleep, 500
Goto, Label1