needhelpfast Posted February 19, 2006 Share Posted February 19, 2006 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! Link to comment Share on other sites More sharing options...
Valuater Posted February 19, 2006 Share Posted February 19, 2006 just remove Sleep(60000) 8) Link to comment Share on other sites More sharing options...
needhelpfast Posted February 19, 2006 Author Share Posted February 19, 2006 just removeSleep(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? Link to comment Share on other sites More sharing options...
Valuater Posted February 19, 2006 Share Posted February 19, 2006 maybe just test the sleep times try Sleep(100) Sleep(1000) etc 8) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now