Hello there boxers! I multibox on one PC with my slave windows minimized, since my computer is not powerful enough to render the graphics in all windows. I wrote my own boxing software, but I have never got mouse clicks to work so I can't use any AoE spells.
I tried to run Utgarde Pinnacle heroic today and wiped at the Skadi event three times before I gave up. I had brought my caster group (paladin tank, destruction warlock, fire mage, shadow priest and resto shaman) but since I only could target one enemy at a time I got overwhelmed after a while. If I only could use Blizzard and Rain of Fire this would be a cakewalk. So I promised myself to look into mouse clicks again.
As I have understood it Keyclone can broadcast mouse clicks to the slave windows. Does this work for minimized windows as well? If this is the case, how does Keyclone send the clicks?
I use the Windows API function PostMessage to send keystrokes to my windows. It can send mouse clicks as well (C++ code follows, take cover):
Code:
PostMessage(windowHandle, WM_LBUTTONDOWN, 0, MAKELPARAM(x, y));
PostMessage(windowHandle, WM_LBUTTONUP, 0, MAKELPARAM(x, y));
This should, in rainbow unicorn land to use Ghostcrawler's words, click the mouse at coordinate (x, y) in a specific window. It DOES click the mouse in a specific active window. So far it works great. But then we have these show-stopping problems:
- The coordinate doesn't work. It doesn't click the mouse at coordinate (x, y) but where I manually have positioned the mouse.
- It doesn't work at all in minimized windows. It seems like WoW thinks "OK, someone wants to click the mouse, but where is the mouse pointer? Wait, I'm minimized and I don't render any graphics so I don't have any mouse pointer. Great, then I don't have to do anything!"
Any ideas?
Connect With Us