<< Click to Display Table of Contents >> Write value when screen is opened and closed |
![]() ![]() ![]() |
In this example we will show how to write value when screen is opened and closed. Let's create tag with name Tag:
Let's create 2 screens - General and Popup. On the general screen let's place button that will open Popup screen and on the popup screen let's place button to close popup screen:
Let's create 2 Screen type scripts. One is executed when popup screen is opened. Second is executed when popup is closed:
Texts of the scripts:
Let's add these scripts to the Collection of the Popup screen:
Let's Run simulation to check the settings:
You can download this project here.