when E'client setfocused, the state is 15 not 16.. wonder why and what is that mean?
16 = activated, got mouse and keybord input available.
buat 15? confuse dude.
16 = activated, got mouse and keybord input available.
buat 15? confuse dude.
while 1Quote:
I just tried using _sendmessage like this :
it repeatedly pressing 1 (0x31) , but still it stops when the Element Client window is inactive. The only difference I notice when using that is when I click on the chat window, it doesn't type anything, that's more convenient to use in bot script though, so can chat anytime in the game without pausing the bot manually.Code:#include <SendMessage.au3> while 1 _SendMessage(WinGetHandle("Element Client"), $WM_KEYDOWN, 0x31) wend
if I change the $WM_KEYDOWN to $WM_CHAR , it doesn't do anything to the game but when I click on the chat window, it sends key '1' repeatedly there.
if you have a _SendMessage example that works for PW Client, please tell how you use it.
tks in advance:handsdown: