Click x times every second

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
kondicykel
Posts: 1
Joined: 14 Apr 2021, 16:20

Click x times every second

14 Apr 2021, 16:29

Hello. im new to this autohotkey.
im way stronger in autoit. well nvm.

How do i get x mouseclicks every second ?
I know about the sleep command but its not reliable enough since there is processes between that takes up time.
User avatar
boiler
Posts: 16917
Joined: 21 Dec 2014, 02:44

Re: Click x times every second

14 Apr 2021, 16:37

Replace the ToolTip with Click.

Code: Select all

#Persistent
ClicksPerSec := 5
SetTimer, ClickIt, % 1000 / ClicksPerSec
return

ClickIt:
	ToolTip, % A_TickCount ; Click
return

Esc::ExitApp

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: mikeyww, rc76 and 203 guests