batch command to capture the position of an open window XY