PsychicHigh Posted May 23, 2006 Posted May 23, 2006 Added in some randomness to the MouseClickDrag function so it would seem as if it's normal human input. MouseClickDrag("left", Random(693, 726, 1), Random(114, 145, 1), Random(684, 713, 1), Random(399, 428, 1), Random(3, 6, 1)) The moment I added in the randomness it seems to almost break the code, as if mouse clicks were missing. I increased the mouse click delays and still seemed to not pick up the mouse clicks. Opt("MouseClickDownDelay",100) Do I have to set temporary variables using Random() then call the variables from MouseClickDrag() or should something like this actually work?
jvanegmond Posted May 23, 2006 Posted May 23, 2006 It works like a charm here. I'm running latest beta. github.com/jvanegmond
PsychicHigh Posted May 23, 2006 Author Posted May 23, 2006 Thanks for the quick response on this. I'm using the latest beta as well, maybe I changed something else in the code by accident. I'll take a look through and check it out.
jvanegmond Posted May 23, 2006 Posted May 23, 2006 Always welcome to assist, let me know wether it works out or not. I just can't stand those little 'syntax' error Au3 Check doesn't detect. github.com/jvanegmond
PsychicHigh Posted May 24, 2006 Author Posted May 24, 2006 It worked eventually. Took me a while to find the mistake, but I did right click instead of left click, and copied it to several parts of the script where it was supposed to left click. Big oops on my part.
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