Desktop automation how minimize browser and window ui vision?

Hi,
My experience with UI.Vision on Windows suggests that when UI.Vision opens an application, it should open it in the foreground. Interesting that the calc.exe program appears behind the UI.Vision window.

I have had problem with this on the macOS but since part of the window is visible, I just use XClick to click on the parts of the window that is visible.

I haven’t tried this before, but you can try using XType and send in the Alt-Tab keystrokes? If you press Alt-Tab once, it should bring you to the most recent application.

Let me know how it goes.

regards,
steven

1 Like