SnoopyX Posted February 25, 2010 Share Posted February 25, 2010 (edited) Hello all, Erm I'm new to C++ And I doin some research but I can't find any answer. Here's my question, MouseClick ( "button" [, x, y [, clicks [, speed ]]] ) button The button to click: "left", "right", "middle", "main", "menu", "primary", "secondary". x, y [optional] The x/y coordinates to move the mouse to. If no x and y coords are given, the current position is used (default). clicks [optional] The number of times to click the mouse. Default is 1. speed [optional] the speed to move the mouse in the range 1 (fastest) to 100 (slowest). A speed of 0 will move the mouse instantly. Default speed is 10. Erm I wan the x, y to be my current position in my screen means when i active the .exe they will just start to click the things i want and i move the mouse myself while they're still clicking. Erm Sorry for my bad english. Here's my code MouseClick("left", "", "", 30, 10) --> The "", "" is the x & y but then i dont have any idea what must i put to get my own mouse current position please help thanks alot. Edited February 25, 2010 by SnoopyX Link to comment Share on other sites More sharing options...
Developers Jos Posted February 25, 2010 Developers Share Posted February 25, 2010 Newbie in C++ ? 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. Link to comment Share on other sites More sharing options...
SnoopyX Posted February 25, 2010 Author Share Posted February 25, 2010 Yup so any idea? i've download the tutorial already but still no idea how to do it. please help thanks. Link to comment Share on other sites More sharing options...
SnoopyX Posted February 25, 2010 Author Share Posted February 25, 2010 Okie I solve my problem by myself. haha Thanks all. Link to comment Share on other sites More sharing options...
Developers Jos Posted February 25, 2010 Developers Share Posted February 25, 2010 Okie I solve my problem by myself. haha Thanks all. Your C++ problem? 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. Link to comment Share on other sites More sharing options...
SnoopyX Posted February 25, 2010 Author Share Posted February 25, 2010 AutoIt Code not c++? Link to comment Share on other sites More sharing options...
Developers Jos Posted February 25, 2010 Developers Share Posted February 25, 2010 AutoIt Code not c++?Ok... let me try it this way: You get one chance to answer that questions yourself and the answer better be good because your future here depends on it. 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. Link to comment Share on other sites More sharing options...
SnoopyX Posted February 25, 2010 Author Share Posted February 25, 2010 Haha okie now i working on some hotkeys anyway Nice to meet u Link to comment Share on other sites More sharing options...
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