Hi,
What’d be the best way to trigger my robot.bat file via incoming outlook mail message. I know that MS disabled “run script” rule from outlook and that you can get feature back editing registry. That said are there any other options?
Br,
Mikko
Hi,
What’d be the best way to trigger my robot.bat file via incoming outlook mail message. I know that MS disabled “run script” rule from outlook and that you can get feature back editing registry. That said are there any other options?
Br,
Mikko
Looks this will work,
Ended up using .bat file and built VB script rule to outlook to run robot.bat when certain email arrives. Outlook warning mechanism triggered because uipath software was trying to use its address book. Disabling this setting in options solved everything…
Can you post your script here? If you want
Sure it was something like this:
Naturally you have to enable outlook to run scripts first. Here are instructions to enable that: https://www.slipstick.com/outlook/rules/outlook-run-a-script-rules/
In outlook rules you can define for example from which address script triggering works etc…
Script in Outlook looks like this:
Sub ProgramName(MyMail As MailItem)
If InStr(1, MyMail.Subject, “Whatever email msg you want to trigger”) > 0 Then
Shell “c:\temp\a.bat”
Shell “c:\temp\b.bat”
Shell “c:\temp\c.bat”
End If
End Sub
Thank you !
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.