Jump to content

last question


Recommended Posts

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]

Link to comment
Share on other sites

Are you trying to make a Diablo II account steeler? I bet you are. anyways, you could use controlclick() and use the Window Info tool to get the control's infomation. Look in the help file.

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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