Last active
August 24, 2022 14:01
-
-
Save renan778/b2ce999f5c6853839d1ae11ef4d17b1e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyautogui as pg | |
import time | |
time.sleep(10) | |
pg.PAUSE = 0.5 | |
while (True): | |
# comando no excel | |
pg.click(x=-1253, y=255) | |
pg.hotkey('ctrl', 'c') | |
pg.hotkey('alt', 'tab') | |
#comandos no exchange | |
pg.click(x=-1306, y=123) | |
pg.hotkey('ctrl', 'v') | |
pg.press('tab') | |
pg.click(x=-628, y=530) | |
pg.press('enter') | |
pg.press('enter') | |
#comando no excel | |
pg.hotkey('alt', 'tab') | |
pg.click(x=-1422, y=255) | |
pg.hotkey('ctrl', '-') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment