Jump to content

Recommended Posts

Posted

how do i get this

MouseClick("left", 50, 490)

into the ControlSend part?? :)

AutoItSetOption("WinTitleMatchMode", 4) 

; Get the handle of the diablo window 
$handle = WinGetHandle("classname=Diablo II", "") 
If @error Then 
    MsgBox(4096, "Error", "Could not find the correct window") 
    exit 
Else 
$i = 0
Do
    
    


;   MsgBox(4096, "success", "The window handle is " & $handle) 
   ; Send some text directly to this window's edit control 
   ;ControlClick("handle=" & $handle, "", "", "left") 
    ControlSend("handle=" & $handle, "", "", "{TAB}") 
    sleep(35) 
    ControlSend("handle=" & $handle, "", "", "{ENTER}") 
    sleep(35)
    ControlSend("handle=" & $handle, "", "", "{SPACE}")

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Posted (edited)

and again thnx for helping!

Edited by aceloc

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...