blah7 Posted August 4, 2006 Share Posted August 4, 2006 could some one make me a script that spams the keystrok A and S when i hit F10 and hit F10 to stop the keystrokes ??? thx Link to comment Share on other sites More sharing options...
spyrorocks Posted August 4, 2006 Share Posted August 4, 2006 no. [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center] Link to comment Share on other sites More sharing options...
blah7 Posted August 4, 2006 Author Share Posted August 4, 2006 its for wc3, my fingers are tired of buying tomes Link to comment Share on other sites More sharing options...
spyrorocks Posted August 4, 2006 Share Posted August 4, 2006 (edited) fine... hotkeyset("{f10}", "doit") func doit() hotkeyset("{f10}", "stop") while 1 send("a") send("s") wend endfunc func stop() exit endfunc while 1 sleep(100) wend I havent tested it. im on a mac but it should work. Edited August 4, 2006 by spyrorocks [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center] Link to comment Share on other sites More sharing options...
Starf0x Posted August 4, 2006 Share Posted August 4, 2006 There is such a great helpfile(s) with AutoIT, and one of the basics is Send, if you study it a bit, then you might be able to do it on your own, instead of asking? I did, and it makes repetative tasks so much simpler, just put a little time in it, and you see that the potentials are way bigger. Kind Regards, Starf0x :"> Link to comment Share on other sites More sharing options...
Paulie Posted August 4, 2006 Share Posted August 4, 2006 Note - Autoit types too fast for WC3 by default, so put a few sleep(100) in between the sends 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