Sign in to follow this  
Followers 0
SnoopyX

I Need Help. Newbie In C++

8 posts in this topic

#1 ·  Posted (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 by SnoopyX

Share this post


Link to post
Share on other sites



Yup so any idea? i've download the tutorial already but still no idea how to do it. please help thanks.

Share this post


Link to post
Share on other sites

Okie I solve my problem by myself. haha Thanks all.

Share this post


Link to post
Share on other sites

AutoIt Code not c++?

Share this post


Link to post
Share on other sites

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.


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Haha okie now i working on some hotkeys anyway Nice to meet u :mellow:

Share this post


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
Sign in to follow this  
Followers 0