You can't do it wile minimized, autoit can do the job windowed.
AutoIt - AutoItScript
Aside from a program like AC tools, is there anything that can play keyclicks in-game while being minimized?
Basically i just want something super simple, like pressing 1/1/1/1/1/1/1 while minimized. I can do it currently but require fullscreen.
"If it compiles, it works."
My blog about dev/reverse engineering: http://nicow.uk.to
you want a virtual machine to run the bot in, makes life so much easyer
You can do it whilst minimised using autoit by using controlsend, I posted this in another thread
That's a basic function that will send 1 over and over to the guild wars 2 window whilst minimised, the full script I made to do it is this:Code:func one() while $i<2 ControlSend ("Guild Wars 2", "", "", "1") sleep(random(100,150)) WEnd EndFunc
Code:HotKeySet("^1", "one") HotKeySet("^2", "two") Local $i = 1 While 1 Sleep(100) WEnd func one() while $i<2 ControlSend ("Guild Wars 2", "", "", "1") sleep(random(100,150)) WEnd EndFunc func two() $i=3 EndFunc
Last edited by Jon121; 08-29-2012 at 10:46 PM.
I found out recently that the bot I wrote in Java will never be able to send key presses to a window that does not have focus. It CAN be done in C# according to the internets.