Is it possible to hotkey a script?

Zetsuei

New Member
Simple question. I added a new script and it would be nice to start/stop it with a hotkey. Is this possible?
 

Suslik V

Active Member
No. All scripts in the list are processed one by one.
You need to modify each script so its main code can be skipped/ignored by hotkey (effectively stopping execution of the main routines).
 

koala

Active Member
If the script adds hotkey handling, it can register its own hotkey. The instant-replay.lua that comes with OBS Studio contains an example.
 
Top