Jump to content

ControlClick pickup and drop


Recommended Posts

I made a script, it can do what i want it to do, except one step.

I want to do this in a loop:

1.) left mouse click on specific coords > pick up an item > check

2.) left mouse click on specific coords > drop the item > not working, it drops where my cursor is

3.) left mouse click on specific coords > press a button > check

Its a game btw.

ControlClick(GUICtrlRead($title), "", "", "left", 1, $item[1], $item[2])
Sleep(500)
ControlClick(GUICtrlRead($title), "", "", "left", 1, $drop[1], $drop[2])
Sleep(500)
ControlClick(GUICtrlRead($title), "", "", "left", 1, $button[1], $button[2])

My question is, how can i drop to the specific coordinates, not to the cursor position?

Thanks!

Link to post
Share on other sites
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...