TSEGAH Posted December 16, 2011 Posted December 16, 2011 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!
rcmaehl Posted December 16, 2011 Posted December 16, 2011 Please read the rules. My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.My Projects WhyNotWin11Cisco Finesse, Github, IRC UDF, WindowEx UDF
Developers Jos Posted December 16, 2011 Developers Posted December 16, 2011 Its a game btw.Read our forum rules! SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Recommended Posts