AzKay Posted July 12, 2006 Posted July 12, 2006 Is there a way to find out the center of the screen? Because, im trying to make the mouse click once, but, If I do just MouseClick("Left") It clicks twice, and the mouse is in the center of the screen, cause its a shooting game, I tryed MouseClick("Left", "", "", 1) But, it just spass's out and faces the ceiling, instead of facing where the mouse is... # MY LOVE FOR YOU... IS LIKE A TRUCK- #
jvanegmond Posted July 12, 2006 Posted July 12, 2006 Center of screen: MouseClick("Left", @DesktopWidth /2, @DesktopHeight /2,1) Current position: $Pos=MouseGetPos() MouseClick("Left", $Pos[0],$Pos[1],1) Normally, just MouseClick("") is enough. github.com/jvanegmond
AzKay Posted July 12, 2006 Author Posted July 12, 2006 Thanks # MY LOVE FOR YOU... IS LIKE A TRUCK- #
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