Support > Forums > OpenBots Studio > OpenBots Studio - Close Window Command Blocked by "Save Changes Dialog"
Hello, If a Notepad window is attempted to be closed without being saved, the Save Changes dialog blocks the Close Window Open Bots command. The command can't even proceed to click on the "Don't Save" button to cancel the changes and close the unsaved Notepad window.
How to Simulate this condition?
Current Solution: I got around it by using Special Key Commands Alt+F+x to close the Notepad dialog and then use the Send Click command to identify the "Don't Save" button to close the Notepad window without changes.
Thanks, Andy
This forum has 317 topics, 687 replies, and was last updated 4 months ago by Nataly Alvarado...
Hi andymenon2012,
Thanks for submitting your request. We will review your feature request, and accommodate it in our future releases as seemed fit.
Please note that the Close Window command is meant to mimic the actions of a user attempting to close the indicated window. In the case of the unsaved notepad, this action would trigger the mentioned pop-up. The command does not continue to the next action until the windows is successfully closed.
On the other hand, the Stop Process command can be used to kill or close the target application. In this case, if you set the command to kill Notepad, this will bypass the pop-up triggered and terminate the application immediately. Using the Stop Process command in "close" mode will trigger the close action and go to the next step even if the pop-up is triggered and undismissed.
Thanks!
You are not authorized to reply, please click here to login and add your reply to this topic.