Jump to content

Recommended Posts

I have some problems fixed. The only problem now is I want it to hold shift, and move the mouse to the center of the window. Whne the window is minimzed it move sthe mouse to the top left. SHIFTDOWN isn't going through either

[/autoit]Sleep(3000)
$handle = WinGetHandle("Diablo 2", "")
ControlSend("Diablo 2", "", $handle, "{SHIFTDOWN}")
Sleep(1000)
ControlClick("Diablo 2", "", $handle, "left")
Sleep(1000)
ControlSend("Diablo 2", "", $handle, "{SHIFTUP}")[autoit]

Is there another way to hold shift down and left/right click? And I can't seem to fix the mouse coordinate problem.

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...