Dre18nc Posted February 24, 2008 Posted February 24, 2008 Ok So I have this script that I am making. I want the mouse to move, click on a location, to pick up a potion in a game.I have gotten as far as to pick it up, But for some reason it wont set it back down in any other inv spot.. It wont even set it back down in the same spot its picked up from. I dont understand why I can pick it up. but not set it back down.My script..WinActivate("D2Loader")MouseGetCursor()MouseMove(684, 524)MouseDown("left") (Wont let me set potion down after picking up here)MouseMove(598, 516)MouseDown("left")
botanic Posted February 24, 2008 Posted February 24, 2008 (edited) what about using the MouseClick ( "button" [, x, y [, clicks [, speed ]]] ) function? PS the problem is that you never send a mouseup command so its like holding the button down instate of clicking Edited February 24, 2008 by botanic
botanic Posted February 24, 2008 Posted February 24, 2008 (edited) try this MouseMove(684, 524) MouseDown("left") (Wont let me set potion down after picking up here) mouseup("left") MouseMove(598, 516) MouseDown("left") or dl the full scitie for autoit and use the script writer and just copy it Edited February 24, 2008 by botanic
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now