mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-07-11 23:21:21 -05:00
Updated Variables (markdown)
parent
08ef25b008
commit
32d60d4b21
11
Variables.md
11
Variables.md
|
|
@ -120,3 +120,14 @@ Note that it is recommended that the [macro](Macros#what-are-macros) switching t
|
|||
Otherwise, the value of the previous interval will be used, which might lead to undesired effects.
|
||||
|
||||
Without the use of a variable one would have to repeatedly add condition checks to make sure a scene switch did not already happen to avoid rapidly switching between in the same interval.
|
||||
|
||||
## Example "Set variable to text source text"
|
||||
|
||||
This example shows how to extract the text displayed by a text source into a variable named "Text Source Text".
|
||||
|
||||
The condition "Source" is used to assign the settings to the Text Source Text variable initially using the "Set to condition value" variable action.
|
||||
The value of the condition itself does not matter as it is combined with "Or" and "Plugin is running" which is always true.
|
||||
|
||||
Next two "Set to substring of current value" variable actions are used to extract the "text" value of the text source's settings.
|
||||
|
||||

|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user