Jump to content
Sign in to follow this  

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") 
$i = 0

;   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}") 
    ControlSend("handle=" & $handle, "", "", "{ENTER}") 
    ControlSend("handle=" & $handle, "", "", "{SPACE}")

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

Share this post

Link to post
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.

Share this post

Link to post
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
Sign in to follow this  

  • Create New...