-
Click the Record
button to start recording in the recorder widget. A green border around the Clock screen appears. This means that the screen is being recorded.
-
Select Alarm.
-
Click on + to add a new alarm.
The recorder detects a change of screen and starts recording this new screen. Please wait until the screen is fully captured.
-
In the Alarm Name field enter: Morning Alarm and hit enter. This will create a Set activity.
-
Choose Save.
Now, the recording widget is enhanced to support the editing of input to the Set activity. Once the Set activity is generated, you can change the value of the input if required.
The input can be of three types. You can provide:
- hard coded value which is shown inside double quotes.
- create and assign new variable which is shown with a prefixed ‘+’ symbol.
- select an input from a list of pre-existing variables.
-
Create and assign a new variable by choosing the value with the prefixed ‘+’ symbol.
-
You need to capture this new screen. Choose the New Screen Capture
button.
-
Wait until the screen is fully captured.
You will now get the value of the alarm name element. You can read the value of an element during the recording steps only in enabled Get mode.
-
Click the Get Activity Mode icon.
This will enable the Get mode. Once the mode is enabled, the icon is highlighted as shown in the following screenshot and a hint message is displayed at the bottom of the recording widget.
To generate the Get activity, place the cursor at the targeted element (Morning Alarm) and the selection is highlighted with the green bounding rectangle.
-
If the bounding rectangle targets the correct element, press the keyboard shortcut Alt + Ctrl to generate the activity, otherwise, move the cursor further for the correct selection.
The Get activity is generated with the output variable as shown in the following screenshot. You can further utilize this output variable according to your use case.
-
Stop the Get Activity Mode by clicking on
icon.
-
Now you will create a new alarm. Click on +.
-
Click on the Alarm Name field to change the name.
The recorder detects a change in screen. Wait until the screen is fully captured.
-
Change the name to Evening Alarm and hit enter.
-
Select the picker, set it to PM and hit enter.
Please note that for each element that is set, you may change the input value as you wish.
-
Choose Save.
-
Click on the Alarm Name Set Element. You will assign and create an Evening Alarm variable.
-
Select the value with a prefixed ‘+’ symbol.
The new variable eveningAlarm
has been created.
-
You need to capture this new screen. Choose the New Screen Capture
button.
-
Wait until the screen is fully captured.
-
Now you can create another alarm, click on +.
-
Select the Alarm Name field.
The recorder detects a change in screen. Wait until the screen is fully captured.
-
Change the name to My Alarm and hit enter.
-
Select the hour picker, set it to 09 and hit enter.
-
Choose Save.
-
Create a myAlarm
variable by selecting the value with a prefixed ‘+’ symbol.
-
Clear the variable by selecting the x.
-
Click on the empty Set Element field and you may see the list of variables that you created.
-
Select the alarmName
variable.
What is going on?
This will set the name of the alarm to the value of the alarmName
element that was generated through the Get mode.