Adding sample1: Gives a screen shot of a specific window given its id,width,height