Hello Experts!
I’m trying to run a robot in picture in picture mode but when the bot needs to send an email it can’t access the outlook.
I tried to run as admin, didn’t work.
Also I tried to open only the outlook inside the PiP mode:
Any ideas ?
Thank you
1 Like
Hi @Andre_Vieira
You might wanna use start process activity to start outlook in pip mode.
Refer below link for more details:
Ok, I have a possible workaround. This short screen recording demonstrates the solution. It works in Studio and Assistant and also works in and out of PIP.
Although this is acceptable, it questions the Start Process activity if more applications do not work in PIP mode when opened using Start Process
Besides, starting an application with Win + r means adding 3 steps to the process as opposed to just one when using the Start Process activity
https://www.awesomescreenshot.com/video/4909477?key…
Please follow these steps, this should work for you.
Regards
Sonali
2 Likes
Hello @Andre_Vieira
I have confirmed that you cannot use outlook from within PIP mode. We had the same problem and a Uipath support ticket had to be raised to confirm this.
Even closing outlook in the main desktop before starting automation in PIP will not work and will result in the same error.
There are two workarounds for this:
The Outlook 365 APIs (I am away from my work laptop, and will confirm to you the exact name) to send emails with your Outlook.
Or try using SMTP email activity to send email using your corporate SMTP server.
Thanks
3 Likes
Thank you @AndyMenon for confirmation:)
@Andre_Vieira , below is the package name
Uipath.Microsoftoffice365.Activities
You can use this to do various operations with outlook.
Else, you can use “Exchange mail message”activity to send mails
“Save mail message” to save emails.
Likewise, there are many other activities that can be used to interact with outlook.
Type in mail in your activity panel and it show all activities related to mail.
Regards
Sonali
1 Like
Look what I found on the 2021.8 preview release!
2 Likes
This might not be immediately useful, but I will post it here as it fits the context of PIP.
I discovered that the most reliable way to start a program inside of PIP is using the Win+r option.
For example: MS Edge does not open when clicked on the icon, but opens when this path is plugged into the Run box inside of the PIP Window:
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe --profile-directory=Default
2 Likes
system
(system)
Closed
September 22, 2021, 4:44pm
8
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.