Jump to content
Sign in to follow this  
YuchiRO

Auto click at position

Recommended Posts

YuchiRO

Hello everybody !!

I want to make a script that auto click a left mouse at position when i start a script

Help me pls !!

Thanks

Share this post


Link to post
Share on other sites
monoceres

Hello everybody !!

I want to make a script that auto click a left mouse at position when i start a script

Help me pls !!

Thanks

MouseClick("left",Xposition,Yposition)

And then you just replace the Xposition with the xcoordinate on the screen and the same with Yposition

Like this: MouseClick("left",200,200)

Edited by monoceres

Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites
YuchiRO

Thanks Monoceros alot !!

But ... i need a script as :

When i click a script and it make a lot click at position

Share this post


Link to post
Share on other sites
Jos

What about doing a bit of reading in the helpfile to see if you can sort things out yourself ?

There are probably also a zillion scriptlets in this forum from people asking the same question...


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
YuchiRO

I sorry about that !

I searched on the forum ... and got a lot of result

I didnt find the thing that i want

May i creat a new topic to get the answer faster than !

if you have a answer or the result on the forum by your searching, pls give me a link and del my topic !

Thanks a lot !

Edited by YuchiRO

Share this post


Link to post
Share on other sites
weaponx

MouseClickDelay Alters the length of the brief pause in between mouse clicks.

Time in milliseconds to pause (default=10).

Opt("MouseClickDelay", 10)

MouseClick ( "button" [, x, y [, clicks [, speed ]]] )

Parameters

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.

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  

×