Skip to content

Commit

Permalink
Add sample auto-clicker
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-wiemer committed Jun 20, 2024
1 parent 3c94ba9 commit a66e5a7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions demos/autoclicker.ahk
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#Requires AutoHotkey v2
#SingleInstance Force
#MaxThreadsPerHotkey 3

global ClickerToggle := false
ClicksPerSecond := 10
^z::
{
global ClickerToggle := !ClickerToggle
Loop
{
If (!ClickerToggle)
Break
Click
Sleep 1000 / ClicksPerSecond
}
}

0 comments on commit a66e5a7

Please sign in to comment.