I just needed help with a script, been trying to figure out on how to make one but couldnt.
i need a simple left mouse click, then press 2 on keyboard then 7 on keyboard and then spacebar. Wait for 15s then again do the same thing from the beginning.
Need everything to happen all by itself automatically.
THANK YOU VERY MUCH TO ANYONE WHO COULD DO IT, MUCH APPRECIATED
NEED HELP WITH A SMALL AHK BOT
-
- Posts: 3
- Joined: 29 Dec 2017, 20:29
Re: NEED HELP WITH A SMALL AHK BOT
Here's a thread on the old forum that basically has everything you need. Read through it and put the actions you want in it. https://autohotkey.com/board/topic/6457 ... re-thread/ It shows multiple examples where you can pick what you want.
-
- Posts: 3
- Joined: 29 Dec 2017, 20:29
Re: NEED HELP WITH A SMALL AHK BOT
if you could please type it for me. cant figure how to order it up.TygerByte wrote:Here's a thread on the old forum that basically has everything you need. Read through it and put the actions you want in it. https://autohotkey.com/board/topic/6457 ... re-thread/ It shows multiple examples where you can pick what you want.
-
- Posts: 57
- Joined: 09 Oct 2017, 13:34
Re: NEED HELP WITH A SMALL AHK BOT
This is what u need use F1 to trigger the script and F2 to pause it, loop, 1000 will make it repeat 1000 times u can change it to how much u want it to work, and u can change F1/F2 keys to what ever u want.
Code: Select all
F1::
loop, 1000
{
MouseClick, left
sleep 100
SendInput, 2
sleep 100
SendInput, 7
sleep 100
SendInput {space}
}
return
F2::
Reload
return
-
- Posts: 3
- Joined: 29 Dec 2017, 20:29
Re: NEED HELP WITH A SMALL AHK BOT
i need it to repeat after 15 seconds, how do i change that?
-
- Posts: 19
- Joined: 31 Oct 2017, 05:43
Re: NEED HELP WITH A SMALL AHK BOT
F1::
SetTimer, F1, Off
loop, 1000
{
MouseClick, left
sleep 100
SendInput, 2
sleep 100
SendInput, 7
sleep 100
SendInput {space}
}
SetTimer, F1, 15000
return
F2::
Reload
return
SetTimer, F1, Off
loop, 1000
{
MouseClick, left
sleep 100
SendInput, 2
sleep 100
SendInput, 7
sleep 100
SendInput {space}
}
SetTimer, F1, 15000
return
F2::
Reload
return
Who is online
Users browsing this forum: No registered users and 78 guests