how to measure window Archive