Voz Posted July 3, 2008 Posted July 3, 2008 Hi, I was in the middle of making a bot when I ran into a problem: Send("{a down}") Sleep(2000) Send("{a up}") This only results in one keypress on "a", and I need "a" to be pressed down Any suggestions? am I doing something wrong?
tlokz Posted July 3, 2008 Posted July 3, 2008 (edited) Not sure but try Opt("SendKeyDelay", 1000) Send("{a down}") Send("{a up}") Opt("SendKeyDelay", 5) Edited July 3, 2008 by tlokz
Voz Posted July 3, 2008 Author Posted July 3, 2008 I've tried Opt("SendKeyDelay", 2000) Send("{a down}") Sleep(2000) Send("{a up}") Opt("SendKeyDelay", 5) and Opt("SendKeyDelay", 2000) Send("{a down}") Send("{a up}") Opt("SendKeyDelay", 5) And I still only get one "a" muttley
tlokz Posted July 3, 2008 Posted July 3, 2008 (edited) I've tried Opt("SendKeyDelay", 2000) Send("{a down}") Sleep(2000) Send("{a up}") Opt("SendKeyDelay", 5) and Opt("SendKeyDelay", 2000) Send("{a down}") Send("{a up}") Opt("SendKeyDelay", 5) And I still only get one "a" muttley Hmmm.... Geuss just try a loop and you can get it to do it a certain amount of times guided by a variable For $count = 1 To 5 Step 1 Send("{a}") Next Edited July 3, 2008 by tlokz
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