mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Created Scene item transform condition (markdown)
parent
68f82c090a
commit
bdd3094d04
22
Scene-item-transform-condition.md
Normal file
22
Scene-item-transform-condition.md
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
You can use the scene item transform condition to check various properties related to size and position of sources on a given scene.
|
||||
|
||||
## Example: Switching between portrait and landscape mode of window capture source.
|
||||
|
||||
This example assumes that a window capture source is used to capture a window that changes its size when switching between portrait and landscape mode.
|
||||
|
||||
To configure the scene item transform condition first select the scene and window capture source and click the button to get the current transform state (1).
|
||||
|
||||
Delete all parts that are not related to the size block.
|
||||
Next enable the use of regular expressions (2).
|
||||
Click the small gear icon that just appeared to configure the settings for the regular expression (3).
|
||||
Uncheck all settings except "Allow partial match" (4) and close the dialog.
|
||||
|
||||
Finally add the desired action - in this case switching to scene "Landscape scene".
|
||||
|
||||

|
||||
|
||||
To automatically switch to the corresponding portrait scene simply create a macro similar to the following:
|
||||
|
||||

|
||||
|
||||
It uses the "Macro" condition type to reuse the inverse of the settings of the landscape macro.
|
||||
Loading…
Reference in New Issue
Block a user