Skip to content

Commit

Permalink
Adding Get/Import-OBSEffect - (Fixes #109)
Browse files Browse the repository at this point in the history
  • Loading branch information
StartAutomating authored and StartAutomating committed May 31, 2023
1 parent 17f4705 commit 8492e11
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions obs-powershell.types.ps1xml
Original file line number Diff line number Diff line change
Expand Up @@ -1467,4 +1467,25 @@ Get-OBSStreamStatus
</ScriptProperty>
</Members>
</Type>
<Type>
<Name>OBS.Powershell.Effect.Command</Name>
<Members>
<ScriptProperty>
<Name>EffectName</Name>
<GetScriptBlock>
$obsEffectsPattern = [Regex]::new('
(?&gt;
^OBS.(?&gt;fx|effects?)\p{P}
|
[\p{P}-[-]]OBS\.(?&gt;fx|effects?)$
|
\p{P}OBS.(?&gt;fx|effects?)\.(?&gt;ps1|json)
)
','IgnoreCase,IgnorePatternWhitespace')

$this.Name -replace $obsEffectsPattern
</GetScriptBlock>
</ScriptProperty>
</Members>
</Type>
</Types>

0 comments on commit 8492e11

Please sign in to comment.