Sign in to follow this  
Followers 0
kajamct

help code send

2 posts in this topic

$starttime = _Timer_Init()
            While True
            $hWnd = ControlGetHandle("gameonline", "", "")
            ControlClick($hWnd,"","","left",1,594, 453)
            Sleep(500)
            ControlClick($hWnd,"","","left",1,313, 382)
            Sleep(500)
            _WinAPI_PostMessage($hWnd,0x2D,0x2D,0)
            
        If _Timer_Diff($starttime)>=6000 Then
            EndIf
_WinAPI_PostMessage($hWnd,0x2D,0x2D,0) not run

controlsend($hWnd,"","","{ENTER}")  yes

controlsend($hWnd,"","","{ESC}")  no

Share this post


Link to post
Share on other sites



$hWnd = ControlGetHandle("gameonline", "", "")

Think you haven't read our forum rules yet so please do so now.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0