Written by marcelpetrick
on January 13, 2015
A small helper-script to prevent fatigue. The task itself could not be automated, but the amount of emitted clicks could be.
So here is a small AutoIt to trigger the needed clicks at the current mouse-position.
Some “exit the script”-sugar could be added, but I did not do.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
HotKeySet("+c", "captureB") ; brief: if caps+c is pressed, then emit 18 LMB-clicks at the current position Func captureB() ; for tracking ConsoleWrite("captureB called" & @CRLF) ; send ten left clicks For $i = 0 To 17 Step 1 ;18 is half the max amount MouseClick("left") ConsoleWrite($i & @CRLF) Sleep(10) Next EndFunc ; body While 1 Sleep(200) WEnd |
Leave a Reply
You must be logged in to post a comment.