Python implementation of hotkey counter in OBS Studio.
For Windows install python3.6 64 or 32 bit depending on your OBS. Since 28 version OBS Studio supports most 3.x Python versions.
- Download source code.
- Unzip the file to be able to access
hotkey_counter.py
. Remember the file location because you will need this later.
- On OBS, under Sources, click + to create a new text source (below, you will see Text GDI+). You may leave it blank.
- On the OBS menu, click
Tools > Scripts
- Under the
Python Settings
tab, make sure the Python path is configured.
- Under the
Scripts
tab, click the + sign to add this script.
-
Close the scripts window, and return to your OBS window and configure OBS settings by clicking
File > Settings
. -
Configure the hotkeys.
If you need additional counters, duplicate the hotkey_counter.py
file and save it with a new filename (e.g. hotkey_counter2.py
), and repeat the process.
There is a Lua alternative
with helpful blogpost (JP)
on how to install and setup those kinds of scripts in OBS. Lua support in OBS Studio is built-in , so you don't need install anything extra.
Contributions are welcome.