Jump to content
Sign in to follow this  

Mouse Click With DLLCall

Recommended Posts


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


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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.