I have some problems with background clicking with autohotkey
the is an example of my script:
ControlClick, x107 y672, World of Warcraft, , LEFT
Sleep, 500
ControlClick, x116 y252, World of Warcraft, , LEFT
Sleep, 500
I have no problems if I use this:
Mouseclick, Left, 107, 672
Sleep, 500
Mouseclick, Left, 116, 252
Sleep, 500
but with ControlClick (clicking while I'm chatting in another window) then he don't click on the coordinates I gave it but on the coordinates where I have my mouse at that moment)
does someone how I can fix this?
Another question:
Is there a way that I can send my ControlSend/ControlClick to multiple windows (for example if I open WOW 2x that he will send it to both WOW windows).

background clicking
Started by
glenn1001
, Sep 19 2009 09:26 PM
3 replies to this topic
#1
-
Posted 19 September 2009 - 09:26 PM

I don't know for sure (I don't play wow), but you'll probably have to update the cursor position in the inactive game window before it will click where you want it to.
#2
-
Posted 20 September 2009 - 01:06 AM

I don't know for sure (I don't play wow), but you'll probably have to update the cursor position in the inactive game window before it will click where you want it to.
what do u exactly mean with this?
do I have to change the script to:
MouseMove, 107, 672
ControlClick, x107 y672, World of Warcraft, , LEFT
Sleep, 500
MouseMove, 116, 252
ControlClick, x116 y252, World of Warcraft, , LEFT
Sleep, 500
#3
-
Posted 20 September 2009 - 12:48 PM

What I mean is this: many games track mouse movement while the game client is the active window, or while the mouse is directly over the game client window. This is to update the position of their fancy cursor graphics. Also, these games interpret all mouse events as being at that cursor position... even if something like ControlClick would like it to be otherwise.
So, MouseMove might work, if you have the desired window active, or can somehow make the pointer move directly over that window. But otherwise, you'll have to try messages (SendMessage) to get the desired window to move its pointer.
And since I can't test any possible solutions, you'll either have to wait for help from others or check the hundreds of wow-related threads to see if anyone has already done mouse-ready multi-boxing.
So, MouseMove might work, if you have the desired window active, or can somehow make the pointer move directly over that window. But otherwise, you'll have to try messages (SendMessage) to get the desired window to move its pointer.
And since I can't test any possible solutions, you'll either have to wait for help from others or check the hundreds of wow-related threads to see if anyone has already done mouse-ready multi-boxing.
#4
-
Posted 20 September 2009 - 06:16 PM
