How to do rapid fire on "J" button?
Code: Select all
j::
While GetKeyState("j", "P")
{
Send, {j down}
sleep, 10
Send, {j up}
return
}
Can someone help me to finish this script or rewrite?
-
- Posts: 1
- Joined: 22 Oct 2018, 02:18
Re: Can someone help me to finish this script or rewrite?
Hallo,
try:
try:
Code: Select all
$j::
While GetKeyState("j", "P")
{
Send, {j down}
sleep, 10
Send, {j up}
}
return
-
- Posts: 14
- Joined: 21 Oct 2018, 14:52
Re: Can someone help me to finish this script or rewrite?
Code: Select all
j::
While GetKeyState("j", "P")
{
Send, {j down}
sleep, 10
Send, {j up}
sleep, 10
}
return
Add sleep after Send, {j up}, because otherwise it will run and instantly after that Send, {j down} will also be.
Who is online
Users browsing this forum: filipemb, mikeyww, PsysimSV, USS_Sandhu and 321 guests