Resource icon

OBS Python OBS Multi-Hotkey-Image Script v1.0

v1.0
This is the first release of obs-multi-hotkey-image.py, a script bringing push-to-show functionality to an OBS image source. It allows to configure individual hotkeys for all image files found in the configured folder and sets them as image file for your selected image source on the fly.

This is particularly useful for anyone who uses OBS as a virtual camera to facilitate online meetings. A couple of "cards" useful for this purpose are included in the images folder of the release.

This script is based on Tera_X' Push to Enable (Source) script.

This script works on Windows and Linux. On Mac OBS is lacking Python support as of v26.x. Note that for using the virtual camera on Linux, you need to install additional software (since 26.1 only the kernel module called v4l2loopback / v4l2loopback-dkms).

How to use on Windows:
  • Download Python 3.6 (last release with windows installers is 3.6.8), install (I recommend system-wide = "for all users") and add its Installation Path to OBS (ToolsScriptsPython Settings)
  • Download the zipped release file, unpack it and add obs-multi-hotkey-image.py to OBS (Tools → Scripts).
  • Add an "Image" source to your scene.
  • In the script settings select the desired image source and configure the folder with the images you want to show upon pressing your hotkeys.
  • You can now configure a hotkey in the OBS Hotkey settings for each individual picture present in your images folder.
  • Pressing the hotkey should reveal the associated image.
  • Like
Reactions: yimgame
Author
pklaus
Downloads
2,380
Views
6,963
First release
Last update
Rating
5.00 star(s) 1 ratings

Latest reviews

Tested this today (for Rust of course) but this can have so many great uses with the hotkey triggers for many images!
Top