Jump to content
Sign in to follow this  
goldenix

[Solved] how to mouse click 1 time?

Recommended Posts

goldenix

Hire is my script, the problem is that it clicks more than 1 time. And it performs left & right click at the same time. so i get more clicks.

Opt("MouseClickDelay", 0)      ;10 milliseconds
Opt("MouseClickDownDelay", 0)  ;10 milliseconds

MouseClick('left', 626, 137, 5)

is it possible to slow down clicking?

Edited by goldenix

My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list]

Share this post


Link to post
Share on other sites
smartee

hi,

The third parameter of the MouseClick() function indicaates the number of times to click.

Example, to left-click once at 10,20 use:

MouseClick("left", 10, 20, 1)

More details on MouseClick() here.

Hope this helps :unsure:

-smartee

@wakillon: Nope, he set it to 5 :>

Share this post


Link to post
Share on other sites
wakillon

you have set the number of clicks to 5 !


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites
goldenix

ah of course, I thought it was speed of mouse movement, no wonder it bugged, thanx


My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list]

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.