Jump to content

Auto click at position


Recommended Posts

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!

Link to comment
Share on other sites

  • Developers

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...

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

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

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.

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...