Jump to content

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
Link to comment
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...