Jump to content

help code send


kajamct
 Share

Recommended Posts

$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

Link to comment
Share on other sites

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

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

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...