Skip to content

Commit d2ebb1b

Browse files
StartAutomatingStartAutomating
authored andcommitted
Updating Module Version [0.1.2] and CHANGELOG. Adding .Lock/.Unlock (Fixes #32)
1 parent 4ad8fc8 commit d2ebb1b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

obs-powershell.types.ps1xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,25 @@
2424

2525
</Script>
2626
</ScriptMethod>
27+
<ScriptMethod>
28+
<Name>Lock</Name>
29+
<Script>
30+
$this | Set-OBSSceneItemLocked -sceneItemLocked
31+
</Script>
32+
</ScriptMethod>
2733
<ScriptMethod>
2834
<Name>Remove</Name>
2935
<Script>
3036
$this | Remove-OBSSceneItem
3137
</Script>
3238
</ScriptMethod>
39+
<ScriptMethod>
40+
<Name>Unlock</Name>
41+
<Script>
42+
$this | Set-OBSSceneItemLocked -sceneItemLocked:$false
43+
44+
</Script>
45+
</ScriptMethod>
3346
<ScriptProperty>
3447
<Name>Enabled</Name>
3548
<GetScriptBlock>

0 commit comments

Comments
 (0)