I'm sure this has been done before but I couldn't find any good examples with search.
I have this new stupid software that wants to pop-up every time a client calls and hangs up. Window pictured below. The Title can change depending at the time.
I've tried putting this together from examples and documentation at [url="http://www.autohotkey.com/docs/commands/WinClose.htm"]#WinClose[/url] and [url="http://www.autohotkey.com/docs/commands/_IfWinActive.htm"]#IfWinActive[/url] but I don't think I'm doing ii right at all. They don't work that is.
Code:
Loop
{
IfWinExist, WinText "Voice"
WinClose
}
Code:
Loop
{
IfWinExist, WinText [Voice]
WinClose ; use the window found above
}
I might also need some help making sure it doesn't close google voice if I open that tab :\
Thanks!