I want to do the following.
- Open a notepad
- Type some text which can be an empty string or a string with letters
- Close the app.
The issue is that when I close the app the popup menu (save, don’t save and cancel) can either appear or not. I want to check whether it’s appeared and if so save the file and if the opposite then to close the app.
The problem is that when the popup menu appears nothing happens unless I manually close it.
I use Image Exists activity and set a Boolean variable as the output.
How can I fix it?