idontknow Posted December 27, 2008 Posted December 27, 2008 i use autoit get info and get my game client's handlde is blank.Used wingethandle,_WinAPI_FindWinDow but get blank too. Any help me pls.How can i get its handle. thx. And how can i send keys to this game when inactive.I tried controlsend,_SendMessage,_WinAPI_PostMessage but not work. Game which i'm playing is wulin2.and ZXOnline too.
Andreik Posted December 27, 2008 Posted December 27, 2008 i use autoit get info and get my game client's handlde is blank.Used wingethandle,_WinAPI_FindWinDow but get blank too.Any help me pls.How can i get its handle.thx.And how can i send keys to this game when inactive.I tried controlsend,_SendMessage,_WinAPI_PostMessage but not work.Game which i'm playing is wulin2.and ZXOnline too.Use WinList().
z0mgItsJohn Posted December 28, 2008 Posted December 28, 2008 (edited) i use autoit get info and get my game client's handlde is blank.Used wingethandle,_WinAPI_FindWinDow but get blank too. Any help me pls.How can i get its handle. thx. And how can i send keys to this game when inactive.I tried controlsend,_SendMessage,_WinAPI_PostMessage but not work. Game which i'm playing is wulin2.and ZXOnline too. Try This... Opt ('WinTitleMatchMode','2') $Game_Name = ('') $Full_Title = WinGetTitle ($Game_Name) $HWnD = WinGetHandle ($Full_Title) If IsHWnD ($HWnD) Then ConsoleWrite ('Success!' & @CRLF) $Sent = _MySend ('This Is A Test Line.') If $Sent = '1' Then ConsoleWrite ('Data Was Sent To The Game!' & @CRLF) Else ConsoleWrite ('Failed To Send Data To Game!' & @CRLF) EndIf Else ConsoleWrite ('Failure!' & @CRLF) EndIf Func _MySend ($Data) $Send = ControlSend ($Full_Title, '','', $Data) If $Send < '0' Then Return '0' If $Send > '0' Then Return '1' EndFunc Edit : The Only Thing " In Theory " That Could Stop " _MySend " Would Be Some Type Of Anti-Hacking System (I.E. Game-Guard) Hope This Helps! Edited December 28, 2008 by John2006 Latest Projects :- New & Improved TCP Chat
idontknow Posted December 28, 2008 Author Posted December 28, 2008 (edited) Thx for helping.But its not work:(.Cant send '{F1}' Tried winlist() for get handle from process but cant either. Edited December 28, 2008 by idontknow
idontknow Posted December 30, 2008 Author Posted December 30, 2008 still need help.Anyone help me pls
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now