OmarElAsd Posted April 10, 2011 Share Posted April 10, 2011 HiIam Making a Programm Called (SrO LoGineR)but iam having a problem with clientthe problem is : I cant Send or MouseClick any thing until the Real Mouse or Keyboard type anything or click any wherein the clientCodeWinActivate( "SRO_Client","" ) WinActivate( "SRO_Client","" ) WinActivate( "SRO_Client","" ) WinActivate("SRO_Client") WinActivate("SRO_Client") WinActivate("[CLASS:CLIENT]") WinActivate("[CLASS:CLIENT]") WinActivate("[CLASS:CLIENT]") Beep( 50 ) Sleep( 5000 ) WinSetState("SRO_Client", "", @SW_MAXIMIZE) $SROWIN = WinGetHandle("SRO_Client") $111 = "z" $TAB = "{TAB}" $Enter = "{ENTER}" $ID = GuiCtrlRead($USERNAME) $PW = GuiCtrlRead($PASSWORD) ControlClick($SROWIN,"","","left",1, 10 , 10 ) Sleep (100) WinActivate("SRO_Client") ControlSend($SROWIN, "", "", $TAB) ;same for enter... Sleep (100) WinActivate("SRO_Client") ControlSend($SROWIN, "", "", $111) ;same for enter... Sleep (100) ControlSend($SROWIN, "", "", $ID) ;it will send the text also when sro is minimized or hidden Sleep (100) ControlSend($SROWIN, "", "", $TAB) ;same for enter... Sleep (100) ControlSend($SROWIN, "", "", $PW) ;same for enter... Sleep (100) ControlSend($SROWIN, "", "", $Enter) ;same for enter... Beep( 100 ) Link to comment Share on other sites More sharing options...
bogQ Posted April 10, 2011 Share Posted April 10, 2011 TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost. Link to comment Share on other sites More sharing options...
OmarElAsd Posted April 10, 2011 Author Share Posted April 10, 2011 sorry Link to comment Share on other sites More sharing options...
Recommended Posts