Hello all,
I'm new to Power Automate and I'm trying to build a scenario where I would launch my vpn and browse a couple of pages. I understand how to launch the vpn and browse pages but there is something that I have not managed to fix yet.
In some cases, the VPN is already running but the window where I can select my country location is not visible. I can see it in my taskbar or in the hidden icons next to the date/time area. What I would like to do is detect if the process is running (found it in the conditions), detect if the window has the focus (found it in the conditions too) but if the window doesn't have the focus, I don't see directly how to give it the focus.
I thought I could find it in UI automation but I only see data extraction, form filling and window. In the latter I don't see an option to bring a specific program forward. Should I simulate a click to the taskbar for that or is there a simple way to do this?
Thanks