Hi all,
So I am trying to write a hot key that will bring a window, and all the windows assocaited with it, to the top of the screen. (I hope I am correct in refering to this as a "program" instead of a window)
Specifically, I want to press F12, and bring my instant messaging buddy list, and all the open chat windows, to the top. So far i have this script:
-------------------------------------------------------------------
;F12 will bring "Buddy List" to top and activate window
F12::
SetTitleMatchMode 2
IfWinExist Buddy List
{
WinSet Top
WinActivate
}
return
-------------------------------------------------------------------
The problem I run into here is that each chat window has a different window name depending on who I am messaging. Is there anyway to bring the buddy list and all associated windows to the top?
*** Additionally, I have been playing around with WinMinimize, and I can't get it to work. I want to minimize the window if it is already active and on top if the same hot key is pressed
Thanks!