Jump to content
Sign in to follow this  
OaK

Faster Mouse click Execution

Recommended Posts

Ok I have already started a thread about faster typing execution and I thought it best to start another thread for mouse speed. I have written a script of a series of mouse clicks

but it goes very slowly... here is a portion of it,

MouseClick("left", 575, 587, 1)

MouseClick("left", 573, 644, 1)

Sleep(2000)

MouseClick("left", 440, 523, 1)

MouseClick("left", 542, 523, 1)

MouseClick("left", 658, 523, 1)

MouseClick("left", 679, 557, 1)

"

I was wondering if there is a different mouse click script that doesnt show the animation of the mouse or just does it must faster ( ideally ) ... thanks in advance.

Share this post


Link to post
Share on other sites

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

Have you tried "0"?

Share this post


Link to post
Share on other sites

Yes, when I set it to 0, the mouse does nothing.

<{POST_SNAPBACK}>

I have some scripts that work okay with the 0 setting, but others I opt'd to slow to 1 or 2. I had to give the app time to respond to the first click before moving and clicking in another place. In both of these cases, clicking was the only option since these are non-standard windows, ControlClick would not work on them, perhaps ControlClick will work for your needs - see also ControlFocus in the manual.

Setting the speed to 0 did not display the pointer - it moved "instantly" as documented. I'm not sure why your mouse is not moving.


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

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

Have you tried "0"?

<{POST_SNAPBACK}>

Zero is not in the range of 1 to 100 :(

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

Share this post


Link to post
Share on other sites

Zero is not in the range of 1 to 100  :(

<{POST_SNAPBACK}>

To whom are you whispering - the authors of the manual?

I took the manual literally (and have no problem with the wording):

[optional] the speed to move the mouse in the range 1 (fastest) to 100 (slowest).

....what this means to me:

1 to 100 moves the mouse - as in you might be able to see the pointer move

and

A speed of 0 will move the mouse instantly.

....what this means to me:

0 will not move (repaint) the pointer*, but will still cause the click to occur as desired - the success of multiple clicks in rapid succession may be limited by the application's ability to handle such..........

*However, the pointer will repaint to the last position requested by the script if there is time between moves/clicks caused by other lines of code or if the script has exited.

Makes sense to me? Have I been interpreting it wrong all this time? Is that not what the manual means?


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

Reviving thread in hopes someone can help.

<{POST_SNAPBACK}>

Did the ControlClick that I mentioned in post 4 help speed things up?

[size="1"][font="Arial"].[u].[/u][/font][/size]

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...