Created
April 9, 2021 04:30
-
-
Save JayantGoel001/d551d65e0e066b8033b6bba70bea86e9 to your computer and use it in GitHub Desktop.
Automate Chat Messenger using pyautogui
This file contains hidden or 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 | |
from time import * | |
text = 'Apple a day keeps doctor away.' | |
counter = 5 | |
while counter: | |
sleep(5) | |
pyautogui.typewrite(text) | |
sleep(1) | |
pyautogui.press('enter') | |
counter-=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment