
You could probably do this with another tool other than WinAutomation but that's the one I used.Įpisode Six of Power Platform Connections sees David Warner and Hugo Bernier talk to talk to Business Applications MVP Shane Young, alongside the latest news, product updates, and community blogs. I generated an EXE from that WinAutomation script and I run that on a schedule from the task scheduler.

Because the power automate desktop flow was now running.

The next step in the WinAutomation script was simply to exit the script. Not sure why but I finally got it to point to the right place. I had to play around with the mouse positioning in WinAutomation because it seems that it's difficult to set the XY coordinates in relation to the Power Automate window itself. This was the most challenging part actually. I continued in the WinAutomation script to move the cursor 2 the run icon for the flow I wanted to execute. I happen to be an old WinAutomation user so I wrote a script with that to click on the icon which then called up power automate desktop and displayed my flows as usual. I then created an icon on my desktop that executed this EXE. The executable to call is this one on my computer: "C:\Program Files (x86)\Power Automate Desktop\" First, I had to figure out how to actually execute power automate desktop.
