ok that would work however is there a way to specify chan just incase its not the active window