Use spy C:\Program Files\AutoHotkey\AU3_Spy.exe to read info from window
Take value from that and see what happens
IfWinActive ahk_class %mozilla value which responds reliably%
{
traytip,, mozzy is open
}
else
{
traytip,,
Msgbox, it closed
}