Integration with AutoHotKey or sending keyboard button presses to other applications.

mattbatt

Member
Trying to get OBS to control other applications would be easier if I could send keyboard commands to other programs. It could be as simple as "hey OBS ignore these keyboard button presses they aren't for you" to "when I change to this scene send 'CTL ALT 1' to my PTZ camera software" or someway to trigger AutoHotKey and have AHK send the commands AT certain programs. If you have single monitor computer you could tell Powerpoint to advance the slide. I know you can do all this with Touch Portal but that requires a second device and TP running in the background on the computer.
 

Lawrence_SoCal

Active Member
I, too, am looking for similar capability.
Though not exactly what you are asking, but maybe close.... are you aware of this Resource?

Jun 29, 2020 Marq submitted a new resource: Scene Execute Command - Script that can execute CLI command
OBS script for executing any CLI command whenever whenever a scene is activated. Useful for:
  • Loading a preset of any PTZ camera when an OBS scene is activated.
  • Executing any command that does anything when an OBS scene is activated.
 

mattbatt

Member
Yes thank you for your suggestion. I'm currently exporing using Touch Portal to control everything.
I have looked into Scene Execute Command, it does not work for my particular PTZ camera. My camera is hooked up via USB cable. There is also a serial port connection on the side of camera but it is meant to be used by a PTZ controller hardware. It's looking for hex codes. I am not a programmer.
Here is a link to the explanation how the serial connection works. https://www.lumens.com.tw/Download/RS105 - VC-B30U RS-232 command set_1_2.pdf
 
Top