https://techiesms.com/switching-computer-windows-using-door-sensor/