obs-powershell #1082
StartAutomating
started this conversation in
Show and tell
obs-powershell
#1082
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since obs-websocket was nice enough to include a .json file with all requests, I was able to use that to generate out a PowerShell module which contains a function for every request.
I give you all obs-powershell.
Here are some examples of what you can do:
Installing and importing
obs-powershell is available on the PowerShell gallery, so you can use these two simple lines to install / import
Examples
Getting all monitors
Get-OBSMonitor
Getting all kinds of available inputs
Get-OBSInputKind
Getting OBS Starts
Get-OBSStats
Getting Recording Status
Get-OBSRecordStatus
Starting Recording
Start-OBSRecord
Stopping Recording
Stop-OBSRecord
Start Recording, Wait 5 seconds, Stop Recording, and Play the Recording.
Listing scenes
Get-OBSScene
Enabling all sources in all scenes
Disabling all sources in all scenes
Adding a Browser Input to all scenes
Thanks so much for making obs-websocket part of obs, and for providing such nice protocol documentation, when a very helpful .json file containing all requests. This has been really fun to build out and will be even more fun to continue to extend.
Please let me know what you think, and file issues if you have any.
Beta Was this translation helpful? Give feedback.
All reactions