Change the instructions given to the robot according to conditions.

Branch process using the branch action of control

By combining the robot action and branch control action, you can change the instructions given to the robot according to the situation.

../../../_images/1_1.en.png

"The following sample shows to create a process that will perform saving operation if the saving confirmation dialog is shown when closing Notepad."

../../../_images/2_1.en.png

When this sample is executed, if the saving confirmation dialog appears, perform the saving process to show the "File saved" message.

../../../_images/3_1.en.png

If it is’t displayed, show the "Exited without saving file" message without performing saving operation.

../../../_images/3_2.en.png

Hint

Disabling the "Paste String" action, which is the second from the top of the action set, will allow you to check the behavior of the case when the saving confirmation dialog doesn’t show.