Skip to content

Commit fbd8b6d

Browse files
StartAutomatingStartAutomating
authored andcommitted
feat: Removing thread job dependency from obs-powershell
Also, regenerating shaders if any updates exist
1 parent cf7c952 commit fbd8b6d

1 file changed

Lines changed: 138 additions & 0 deletions

File tree

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
Get-OBSClockDigitalLedShader
2+
----------------------------
3+
4+
### Synopsis
5+
6+
Get-OBSClockDigitalLedShader [[-CurrentTimeSec] <int>] [[-CurrentTimeMin] <int>] [[-CurrentTimeHour] <int>] [[-TimeMode] <int>] [[-LedColor] <string>] [[-OffsetHours] <int>] [[-OffsetSeconds] <int>] [[-SourceName] <string>] [[-FilterName] <string>] [[-ShaderText] <string>] [-ShowMatrix] [-ShowOff] [-Ampm] [-Force] [-PassThru] [-NoResponse] [-UseShaderTime] [<CommonParameters>]
7+
8+
---
9+
10+
### Description
11+
12+
---
13+
14+
### Parameters
15+
#### **Ampm**
16+
17+
|Type |Required|Position|PipelineInput|
18+
|----------|--------|--------|-------------|
19+
|`[switch]`|false |Named |false |
20+
21+
#### **CurrentTimeHour**
22+
23+
|Type |Required|Position|PipelineInput|Aliases |
24+
|-------|--------|--------|-------------|-----------------|
25+
|`[int]`|false |2 |false |current_time_hour|
26+
27+
#### **CurrentTimeMin**
28+
29+
|Type |Required|Position|PipelineInput|Aliases |
30+
|-------|--------|--------|-------------|----------------|
31+
|`[int]`|false |1 |false |current_time_min|
32+
33+
#### **CurrentTimeSec**
34+
35+
|Type |Required|Position|PipelineInput|Aliases |
36+
|-------|--------|--------|-------------|----------------|
37+
|`[int]`|false |0 |false |current_time_sec|
38+
39+
#### **FilterName**
40+
41+
|Type |Required|Position|PipelineInput |
42+
|----------|--------|--------|---------------------|
43+
|`[string]`|false |8 |true (ByPropertyName)|
44+
45+
#### **Force**
46+
47+
|Type |Required|Position|PipelineInput|
48+
|----------|--------|--------|-------------|
49+
|`[switch]`|false |Named |false |
50+
51+
#### **LedColor**
52+
53+
|Type |Required|Position|PipelineInput|
54+
|----------|--------|--------|-------------|
55+
|`[string]`|false |4 |false |
56+
57+
#### **NoResponse**
58+
59+
|Type |Required|Position|PipelineInput|
60+
|----------|--------|--------|-------------|
61+
|`[switch]`|false |Named |false |
62+
63+
#### **OffsetHours**
64+
65+
|Type |Required|Position|PipelineInput|
66+
|-------|--------|--------|-------------|
67+
|`[int]`|false |5 |false |
68+
69+
#### **OffsetSeconds**
70+
71+
|Type |Required|Position|PipelineInput|
72+
|-------|--------|--------|-------------|
73+
|`[int]`|false |6 |false |
74+
75+
#### **PassThru**
76+
77+
|Type |Required|Position|PipelineInput|
78+
|----------|--------|--------|-------------|
79+
|`[switch]`|false |Named |false |
80+
81+
#### **ShaderText**
82+
83+
|Type |Required|Position|PipelineInput|Aliases |
84+
|----------|--------|--------|-------------|-------------|
85+
|`[string]`|false |9 |false |ShaderContent|
86+
87+
#### **ShowMatrix**
88+
89+
|Type |Required|Position|PipelineInput|
90+
|----------|--------|--------|-------------|
91+
|`[switch]`|false |Named |false |
92+
93+
#### **ShowOff**
94+
95+
|Type |Required|Position|PipelineInput|
96+
|----------|--------|--------|-------------|
97+
|`[switch]`|false |Named |false |
98+
99+
#### **SourceName**
100+
101+
|Type |Required|Position|PipelineInput |Aliases |
102+
|----------|--------|--------|---------------------|-------------|
103+
|`[string]`|false |7 |true (ByPropertyName)|SceneItemName|
104+
105+
#### **TimeMode**
106+
107+
|Type |Required|Position|PipelineInput|
108+
|-------|--------|--------|-------------|
109+
|`[int]`|false |3 |false |
110+
111+
#### **UseShaderTime**
112+
113+
|Type |Required|Position|PipelineInput|
114+
|----------|--------|--------|-------------|
115+
|`[switch]`|false |Named |false |
116+
117+
---
118+
119+
### Inputs
120+
System.String
121+
122+
---
123+
124+
### Outputs
125+
* [Object](https://learn.microsoft.com/en-us/dotnet/api/System.Object)
126+
127+
---
128+
129+
### Syntax
130+
```PowerShell
131+
syntaxItem
132+
```
133+
```PowerShell
134+
----------
135+
```
136+
```PowerShell
137+
{@{name=Get-OBSClockDigitalLedShader; CommonParameters=True; parameter=System.Object[]}}
138+
```

0 commit comments

Comments
 (0)