

# https://www.globalsino.com/ICs/page4853.html
# Go to the pointed tab on an app

import pyautogui as pg
import time

# Go to tab of an app upto Tab 8 only
time.sleep(2)
pg.hotkey('ctrl', '1')

time.sleep(2)
pg.hotkey('ctrl', '2')

time.sleep(2)
pg.hotkey('ctrl', '3')

time.sleep(2)
pg.hotkey('ctrl', '4')

time.sleep(2)
pg.hotkey('ctrl', '5')

time.sleep(2)
pg.hotkey('ctrl', '6')

time.sleep(2)
pg.hotkey('ctrl', '7')

time.sleep(2)
pg.hotkey('ctrl', '8')





