Jump to content

I Need Help. Newbie In C++


SnoopyX
 Share

Recommended Posts

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
Link to comment
Share on other sites

  • Developers

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...