Using With A Scene
A scene lets you react to the opening and closing of a window in that you select “has been opened” or “has been closed” in the “IF” statement and then select what should happen as a consequence in the “THEN …” statement.
You can also select the actions “go to position” (go to a window position you have defined), “open” and “close” in the “THEN” statement of a scene.