Send and UseSkill to the not active window

07/03/2011 06:02 Aduhn32#1
how do it?
I can send to active window only.

I try to use autoit, but that did not work
Code:
Dim Au3 As New AutoItX3Lib.AutoItX3
Dim hWnd As Integer= FindWindow("ElementClient Window", Nothing)
Au3.ControlSend("[handle:" Hex(hWnd) & "]", "", "", "{F1}")
I also tried using PostMessage,it does not work
Code:
Dim hWnd As Integer= FindWindow("ElementClient Window", Nothing)
PostMessage(hWnd, WM_KEYDOWN,  Keys.F1, 0)
does anyone have any ideas?
07/03/2011 13:18 msxgames#2
Try _SendMessage. Check the helpfile or the sourcecode from Prophetbot on how to use it.
07/04/2011 14:42 Aduhn32#3
Prophetbot could send because it using unfreeze. you need to know, if the active window PW (unfreeze), then the CPU usage up 50% higher, while the client is more than 1,and the computer will slow
07/04/2011 23:04 roflmfaoo#4
it's the price you pay for doing other stuff while botting.

Unless of course you learn injection/send packets :)