Get window criteria