capture window one time