Bring Window To Front

Discuss RoboTask here
Post Reply
Orionizer
Posts: 3
Joined: Fri Feb 21, 2025 5:26 pm

Bring Window To Front

Post by Orionizer »

Is there any way to ensure a window is brought to the front? I have 2 programs I'm auto starting if not already open and want to switch between them.

If those programs are the only ones running, everything is fine. However, if I open another program and it's in front, the icons for the 2 programs I'm starting highlight in the taskbar, but the windows don't come to the front.

I've tried using Focus, Unhide and Maximize and nothing seems to work to bring them to the front. I'm including a screenshot of the highlighting I'm talking about.

Any ideas?

Thanks
2025-02-21_12-39-21.png
2025-02-21_12-39-21.png (6.2 KiB) Viewed 8215 times
Oleg
Site Admin
Posts: 3201
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Bring Window To Front

Post by Oleg »

Use Window command action with "Focus" option
You can select necessary window on the screen by using button "Select window on the screen"
Oleg Yershov
Orionizer
Posts: 3
Joined: Fri Feb 21, 2025 5:26 pm

Re: Bring Window To Front

Post by Orionizer »

I've tried everything...

Focus
Maximize
Restore
Unhide

It will cycle through the script, but usually at least one application will "flash" in the taskbar, but it doesn't bring the window to the front. The other 2 applications come to the front with no issue.

I've made sure before running the script that I've brought each application to the front and they are full screen, then I run the script.
Orionizer
Posts: 3
Joined: Fri Feb 21, 2025 5:26 pm

Re: Bring Window To Front

Post by Orionizer »

Apparently, this was an MS Edge issue as that was the application that would not focus. I opened the page in Firefox and everything is working properly now.

Thanks
Oleg
Site Admin
Posts: 3201
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Bring Window To Front

Post by Oleg »

Try to disable several options in Edge, maybe it can help
Go to Settings -> System and performance
and disable options:
  • Startup boost
  • Continue running background extensions and apps when Microsoft Edge is closed
  • Use graphics acceleration when available
Oleg Yershov
Post Reply