My recommendation is to try to use simulate click or send window messages for each click activity. This way, it won’t matter if Outlook shows a pop-up. Otherwise, adding steps to disable and re-enable outlook notifications is likely going to complicate your process.
In fact, if you can’t do simulate click or send window messages for the application(s) your working with, I suggest running a Kill Process activity on Outlook instead, and if you’d like, just open Outlook at the end of the process.
If they’re using bots while working, their work could easily block the bot as well. It is recommended that the bot either run unattended with no user working on the machine or attended with the user only working on the machine when the bot prompts for help.
The user runs the bot and takes their hands off the keyboard and does not touch it until the bot finishes. However, the issue is, the email notifications cause the bot to break. Thats why I want to turn off the notifications at the start of the automation and turn them back on at the end.
Is this not possible? This seems like an issue and developer faces
Yeah the kill is not a solid solution for this. The average run time for the bots we have is about 2 mins. They are also run dozens of times a day. Restarting outlook will take about 30 seconds so adding 30 seconds to 2 min process just doesn’t seem like a solid solution.
I just need to turn the focus assist (quiet mode) on and set it to alarms only. Ha does anyone have a quick and dirty way to do that without using click activities?
It is possible to click on elements on the desktop if you use screen coordinates for clicking. You can choose an element which the UI explorer recognizes, and then offset where the process clicks to click on the correct button. It might take a bit of trial and error to make sure the offset is just right, though.
I can’t say that this is necessarily stable, but it will get the job done.
Im realizing that I can get to it using keyboard shortcuts actually.
However, is there a way to find out if focus assist is already on? Right now I can only use keyboard shortcuts with the assumption that focus assist is off.