Detect pixel range change on screen and take a screen shot