Sign in to follow this  
Followers 0
AzKay

Center OF Screen?

3 posts in this topic

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- #

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

Thanks


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

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