Request: Advanced Source Toggle/Hotkey Trigger with Monitor & Timer

Geekhat

New Member
Happy holidays everyone (Or just happy Wednesday)!

I'm looking to write a script for OBS (latest version), but have no idea where to start as I'm unfamiliar with LUA or Python. I understand programming logic though.

When the script starts, it should start a 'monitor' function. This will look for a customizable list of scenes. When one of those scenes becomes active on the Program Window, it should run the following function on that scene:
  1. Count to X seconds
  2. Make a customizable source on that scene visible
  3. Trigger hotkey A (for motion effect)
  4. Count to Y seconds
  5. Trigger hotkey B (for motion effect)
  6. Make that source invisible
If the scene changes at any time during counter X, the script should stop counting and restart monitoring.
If the scene changes at any time during counter Y, the script should run #5 & #6 on that source, then stop counting and restart monitoring.

I understand that this might not work, and that I'm just an id'jit that doesn't know how scripting works. Any suggestions or scripting genius would be appreciated.

Thanks for always helping me out so many times...even if I haven't posted before!
 

Geekhat

New Member
Oh yes, I forgot to mention; I'd be willing to pay someone to do this, if that makes it more appealing ;-)

Thanks again!
 
Top