App That Will Bring Any App to Front?

  • Thread starter Thread starter frank
  • Start date Start date
F

frank

Hello,

Occasionally, on my Windows XP PC, various applications refuse to be
brought to the top of the dsktop. Usually, these are systray-based apps.
However, on rare occasions, other apps act-up.

Can the group recommend an application that will force any app, including
sys-tray based apps, to the front?

Thanks,
 
Many system tray apps hide or unhide their main window in response to what
you do with their system tray menu.

Depending on what you're doing, AutoHotkey may be useful for you.
AutoHotkey's WinActivate command, like AutoIt2's and AutoIt3's, attempts to
force windows to the foreground. AutoHotkey can also hide and unhide
windows, which may allow you to reveal a tray app's main window without
actually having to access its menu in the tray.

If this sounds like it might work for you, download and install the free
program from www.autohotkey.com. Run the included Window Spy program
(written by Larry of AutoIt fame). Then click on any target window that
interests you. Window Spy will reveal the title bar and text of each
window you click on.

At that point, you can make a script to activate all or some of the windows
that interest you, such as in this example:

; Put this part at the top of the script:
DetectHiddenWindows, on ; Make the script "see" hidden windows.
return

#z:: ; Hold down the windows key and press Z to activate this hotkey.
IfWinExist, <put here the title of some window that is often hidden or
troublesome>
{
WinShow ; reveal the window if it's hidden
WinMaximize ; maximize it
WinActivate ; force it to the foreground.
}
else
MsgBox, That window does not exist.
return


Good luck,
Chris
 
Back
Top