Sign in to follow this  
Followers 0
Dae

Mouse Click With DLLCall

1 post in this topic

#1 ·  Posted (edited)

Someone directed me to this ClickInControl script which I need help understanding.

http://www.autoitscript.com/forum/index.php?showtopic=5627

EDIT: 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 by Dae

Share this post


Link to post
Share on other sites



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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0