Skip to content

Commit

Permalink
Adding GetSceneItemlist.Response.Remove()./Delete() (Fixes #26)
Browse files Browse the repository at this point in the history
  • Loading branch information
StartAutomating authored and StartAutomating committed Dec 16, 2022
1 parent 4b154ae commit e630117
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions obs-powershell.types.ps1xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
<Type>
<Name>OBS.GetSceneItemList.Response</Name>
<Members>
<ScriptMethod>
<Name>Delete</Name>
<Script>
$this.Remove()
</Script>
</ScriptMethod>
<ScriptMethod>
<Name>Disable</Name>
<Script>
Expand All @@ -18,6 +24,12 @@

</Script>
</ScriptMethod>
<ScriptMethod>
<Name>Remove</Name>
<Script>
$this | Remove-OBSSceneItem
</Script>
</ScriptMethod>
<ScriptProperty>
<Name>Enabled</Name>
<GetScriptBlock>
Expand Down

0 comments on commit e630117

Please sign in to comment.