Sign in to follow this  
Followers 0
needhelpfast

Need Keystroke Help

4 posts in this topic

Hey im trying to figure out a script that will push a keystroke or mouse stroke rapidly as if i kept pushing it down as fast as i can. One of my buddies wrote this script

HotKeySet("^!z","AntiAFK") ;^!z is Ctrl+Alt+'z' to run the AntiAFK

HotKeySet("^!x","End") ;^!x is Ctrl+Alt+'x' to close the AntiAFK

While 1

Sleep(100)

WEnd

Func AntiAFK()

While 1

Sleep(60000)

Send("{SPACE}")

WEnd

EndFunc

Func End()

Exit

EndFunc

The problem is it hits "space" really really slow and takes forever to hit it again. Can someone write me a script lets say for like Mouse3 (middle button on windows mice) and make it so it is constantly pushing it (as if i were rapidly pushing down upon it)

PS; if mouse3 isnt possible can you just write the script for space and ill figure out another key thanks!

Share this post


Link to post
Share on other sites



just remove

Sleep(60000)

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

just remove

Sleep(60000)

8)

thanks..but how do i get this running now i took that out and its not running for some reason...do i need to open any files in the autoit3 folder?

Share this post


Link to post
Share on other sites

maybe just test the sleep times

try

Sleep(100)

Sleep(1000)

etc

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0