{"repo":"StartAutomating/obs-powershell","free":true,"listed":false,"github":"https://github.com/StartAutomating/obs-powershell","clone":"git clone https://github.com/StartAutomating/obs-powershell.git","description":"Script OBS with PowerShell","language":"PowerShell","stars":86,"topics":["obs","openbroadcaster","openbroadcastersoftware","powershell","powershell-module","obs-studio","obs-websocket","websocket","websocket-client"],"license":"MIT","category":"networking-infra","readme_excerpt":"obs-powershell is a PowerShell module that lets you script Open Broadcast Studio. Getting Started Installing and importing obs-powershell is available on the PowerShell gallery, so you can use these two simple lines to install / import PowerShell Install-Module obs-powershell -Scope CurrentUser -Force Import-Module obs-powershell -PassThru -Force Getting Connected Before you can use obs-powershell, you'll need to Connect-OBS. You should only need to do this once: obs-powershell will cache this information. You can find your WebSocketToken in obs studio in Tools - WebSocket Server Settings - Show Connect Info. Copy the Server Password and set it into a variable, $myToken PowerShell Connect-OBS -WebSocketToken $myToken After you've done this once, obs-powershell will attempt to connect every time the module is loaded. A Quick Example Once you're connected, check out this nifty short sample of what you can do: PowerShell Show-OBS lets you show all sorts of things. It will return a scene item. $Stars = Show-OBS -Uri \"https://pssvg.start-automating.com/Examples/Stars.svg\" Start-Sleep -Milliseconds 50 We can .Hide/.Disable scene items $Stars.Hide() Start-Sleep -Milliseconds 50 We can .Show/.Enable scene items $Stars.Show() Start-Sleep -Milliseconds 50 We can make an item small $Stars.Scale(0.1) Start-Sleep -Milliseconds 50 We can fit it to the screen $stars.FitToScreen() Start-Sleep -Milliseconds 50 and we can make it big again, with an animation $Stars.Scale(\"1%\",\"100%\",\"00:00:01\"","default_branch":null,"files":null,"tree":[],"storefront":"/r/StartAutomating","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/StartAutomating/obs-powershell/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}