Code: import time import pyautogui import pyscreenshot as ImageGrab x=int(input('How many screenshot you want ? : ')) t=int(input('How much gap each should have in sec : ')) for i in range(1,x+1): print('Taking Screenshot in ',t,' Seconds...') time.sleep(t) im=ImageGrab.grab() im.show() pyautogui.keyDown('alt') time.sleep(.2) pyautogui.press('tab') time.sleep(.2) pyautogui.keyUp('alt') Output:
worst blogging ever
ReplyDelete