wakummaci Posted May 2, 2010 Share Posted May 2, 2010 Was trying to make a very very simple script, using functions I've already used several times without any problems. Func precast() send ("w") Sleep(300) send ("v") Sleep(300) Sleep(300) Mouseclick("right") send ("b") Sleep(300) Mouseclick("right") Endfunc What this does now: presses w presses v presses b (instead of rightclicking..) and right click 2 times. No idea why.. Link to comment Share on other sites More sharing options...
MvGulik Posted May 2, 2010 Share Posted May 2, 2010 (edited) whatever Edited February 7, 2011 by MvGulik "Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions.""The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014) "Believing what you know ain't so" ... Knock Knock ... Link to comment Share on other sites More sharing options...
JohnOne Posted May 2, 2010 Share Posted May 2, 2010 Probably cause you have your second sleep in the wrong place. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
niubbone Posted May 3, 2010 Share Posted May 3, 2010 Didn't you meant this? Sleep(300) Mouseclick("right") Sleep(300) send ("b") Sleep(300) Try now. 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