Hello everyone,
I’m working on macOS and using Automator to run scripts, whether they’re in Python, Shell, or another language. I’m trying to set up a script that, when launched from Automator, connects to the OBS Studio WebSocket server (port 4455 with a password) to activate or deactivate a macro (called TEST for this example) within the Advanced Scene Switcher plugin.
My Goal
Once the Automator app is launched, I want it to execute a script that connects to the OBS WebSocket and sends a command to toggle the macro.
What I Need Help With
1. What type of script to use? Python, Shell, or something else—I’m open to suggestions on which solution would be best.
2. Example code for the script: A basic script that connects to the OBS WebSocket and sends this command would be really helpful. I’m not sure what needs to go in the script for this connection.
Thanks in advance for any advice and guidance!
I’m working on macOS and using Automator to run scripts, whether they’re in Python, Shell, or another language. I’m trying to set up a script that, when launched from Automator, connects to the OBS Studio WebSocket server (port 4455 with a password) to activate or deactivate a macro (called TEST for this example) within the Advanced Scene Switcher plugin.
My Goal
Once the Automator app is launched, I want it to execute a script that connects to the OBS WebSocket and sends a command to toggle the macro.
What I Need Help With
1. What type of script to use? Python, Shell, or something else—I’m open to suggestions on which solution would be best.
2. Example code for the script: A basic script that connects to the OBS WebSocket and sends this command would be really helpful. I’m not sure what needs to go in the script for this connection.
Thanks in advance for any advice and guidance!