Jump to content

Mouse Click not clicking accurate on high speed


Recommended Posts

Hello friends!

First of all I want to thank everyone who has contributed into this program. It is really amazing that such tools exist for free and I appreciate that.

I have been playing around with a script and  have an issue. When I set the  Mouse Click speed to 2 everything is working but when I lower that speed, the mouse is not clicking accurate. The strange thing is that I did this script a week ago and it was working on speed = 0 and now suddenly I have to change it to 2. If you guys have any idea what may be the problem I would really appreciate that. Dont know how important it is but  the mouse is clicking on a third party program. 

Thank you

Art

Link to comment
Share on other sites

  • Moderators

art777,

Welcome to the AutoIt forums.

If you want us to help, I suggest posting the script you have so we can take a look - see here how to do it.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

MouseClick($MOUSE_CLICK_LEFT, 161, 169, 1,0)
MouseClick($MOUSE_CLICK_LEFT, 487, 557, 1,0)
MouseClick($MOUSE_CLICK_LEFT, 640, 239, 1,2)
MouseClick($MOUSE_CLICK_LEFT, 1130, 625, 1,0)
WinWait("Data", "", 0)
MouseClickDrag($MOUSE_CLICK_LEFT, 566, 77, 151, 79,0)
Send ("{DELETE}")
MouseClick($MOUSE_CLICK_RIGHT)
MouseClick($MOUSE_CLICK_LEFT, 211, 202, 1,0)
MouseClick($MOUSE_CLICK_RIGHT)
MouseClick($MOUSE_CLICK_LEFT, 252, 259, 1,0)
Run("notepad.exe","",@SW_MAXIMIZE)
WinWait("[CLASS:Notepad]", "", 0)
MouseClick($MOUSE_CLICK_RIGHT)
MouseClick($MOUSE_CLICK_LEFT, 295, 340, 1,0)
MouseClick($MOUSE_CLICK_LEFT, 12, 35, 1,0)
MouseClick($MOUSE_CLICK_LEFT, 41, 118, 1,0)
Send ("a.txt")
Send ("{ENTER}")
MouseClick($MOUSE_CLICK_LEFT, 1243, 11, 1,0)

The third Mouse Click speed = 2 and it is working good. When I make it 0 or 1 the script is not clicking accurately anymore.

Link to comment
Share on other sites

@art777

put Sleep Function after every MouseClick and increse click from 1 to 2(if didn't  click 1 time),see below:

MouseClick($MOUSE_CLICK_LEFT, 161, 169, 1,0)
Sleep(100)
MouseClick($MOUSE_CLICK_LEFT, 487, 557, 1,0)
Sleep(100)
MouseClick($MOUSE_CLICK_LEFT, 640, 239, 1,2)
Sleep(100)
MouseClick($MOUSE_CLICK_LEFT, 1130, 625, 1,0)
Sleep(100)
......
........
...........

 

iam ِAutoit programmer.

best thing in life is to use your Brain to

Achieve

everything you want.

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