Quote:
Originally Posted by theoneofgod
The way the new isro hackshield works, it makes it pretty much impossible (for me) to detect when a character has been offered res, or else the client would need to be in focus, which would take out the most important thing about a keypress to minimized windows. so I cant do it, sorry.
|
Use this function:
Code:
Func _ClientControlSend($v_ClientHWnd, $v_Key)
Local $v_CtrlHWnd = ControlGetHandle($v_ClientHWnd, "", "Edit1")
DllCall("User32.dll", "int", "PostMessageA", "hwnd", $v_CtrlHWnd, "int", 0x100, "int", $v_Key, "int", 0)
DllCall("User32.dll", "int", "PostMessageA", "hwnd", $v_CtrlHWnd, "int", 0x101, "int", $v_Key, "int", 0)
EndFunc
It allows you to send all keys to hidden, minimized iSro_Clients. Also Enter. Look for _IsPressed in the help to see what the keyvalues are. Enter is 0x0D.
Dunno what you used before, but this is working, I'm using it to delvl my lowchar^^