Question

Launching Outlook; handling Safe Mode dialog box.

  • 7 November 2022
  • 3 replies
  • 7 views

Hi All,

 

My bot has Outlook launching and checking for emails but there could be instances when Outlook fails to start which would interfere with my bot.

safe mode outlook 

Any suggestions on how to have the bot activate the 'No' option?

My code as follows, but it didn't work:

Any other suggestions appreciated.

 

code to handle outlook 

As I could not reproduce the same dialog box at will; I simulated it by pressing CTRL key to generate a similar dialog box and tested the same logic, which works fine on my local machine, but that part of code did not work in production.


3 replies

Userlevel 5
Badge +8

Hi @Huang Kaijin​ ,

 

The error means that Outlook could not open properly i.e., loading profile, addons, and configuration files failed. Checkout below blogs for resolution

 

https://www.thewindowsclub.com/outlook-couldnt-start-last-time-do-you-want-to-start-in-safe-mode/p>

 

If this is not helping you, I'd recommend opening a support ticket with AA using below link

 

https://apeople.automationanywhere.com/s/support/p>

 

if you don't have access to the above link, Send an email to AA Support team "apeopleopsteam@automationanywhere.com" to get the access.

 

Hi All,

I had to change the behaviour of the bot; i left Outlook open while the bot runs. It does not intefere with the bot operation.

 

Cheers

Userlevel 5
Badge +8

Thanks @Huang Kaijin​ for sharing tips with the community.

Reply