Jump to content
Sign in to follow this  
Dampe

Control Click

Recommended Posts

Dampe

Well,

I am running the script

AutoItSetOption ("TrayIconHide", 1)
$x = @DesktopWidth
$y = @DesktopHeight
$x = $x / 2
$y = $y / 2

    While 1
        ControlClick ("World of Warcraft", "", "", "right", 1, $x, $y)
        sleep (100)
    WEnd

If I have the World of Warcraft window open, the mouse will not move but it will still click center screen like I want.

However, If I minimize the World of Warcraft window, it will still click in the World of Warcraft window, but the mouse on whatever window I have open will jump around.

I'm guessing that this is just lag due to it clicking every half a mili-second, but I was just looking for confirmation

Edited by Dampe

Share this post


Link to post
Share on other sites
Richard Robertson

What mouse coordinate mode are you in? If you are not on screen coordinate mode, it will be buggy when switching windows.

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.