Dae Posted December 30, 2006 Posted December 30, 2006 (edited) Someone directed me to this ClickInControl script which I need help understanding.http://www.autoitscript.com/forum/index.php?showtopic=5627EDIT: It took me alittle to understand the code, but I do now. The first $ret = DLLCall attaches a thread, the second is the mouse click down, the third is the mouse click up, the forth disattaches the thread. In the third $ret = DLLCall he put a 0 instead of a $i which causes it to stall and the mouse is loading. You'll notice it doesn't set $ret to the DLLCall at the end like it does for the rest. I've been testing and $ret[0] is never equal to 0 like it's checking for, so the If $ret [0] = 0 statements weren't necessary, or were intended to return 0 if @error. Edited December 30, 2006 by Dae
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