Zieb
New Member
What is this?
Simple script with AutoHotkey that counts and displays the amount of clicks you have made with your mouse. You can see the script in action from my past broadcast (top right corner).
How to set it up?
Simple script with AutoHotkey that counts and displays the amount of clicks you have made with your mouse. You can see the script in action from my past broadcast (top right corner).
How to set it up?
- Install AutoHotkey
- Open Notepad and paste these lines of code:
Code:filePath = C:\Users\Zieb\Documents\Counter\Clicks.txt ~RButton:: ~LButton:: KeyCount += 1 Delete: FileDelete, %filePath% FileAppend,%KeyCount% clicks, %filePath% Return
- Edit "filePath" to where you want the clicks to be stored.
- Save the file as "Counter.ahk". Make sure the file format is ".ahk" and not ".txt".
- Run Counter.ahk by double clicking on it. It should start counting your clicks. You can see if it works by opening Clicks.txt.
- Open OBS and add new text source.
- Select "Use Text From File" and browse for "Clicks.txt".
- Done! It should now display the amount of clicks on your stream.
Last edited: