ppython auto join google meet
import pyautogui
import webbrowser
import time
# my screen size is 1440, 900, change the coordinates if you have a different window size
def morning_join_meet_process_math():
webbrowser.open('') # Meeting link
pyautogui.moveTo(527,652,4)
pyautogui.click() # turn off camera
pyautogui.moveTo(445,640,4)
pyautogui.click() # turn off mic
pyautogui.moveTo(1031,512,4)
pyautogui.click() # join the meet
time.sleep(10)
pyautogui.moveTo(1031,512,4)
pyautogui.click() # double check
time.sleep(5)
pyautogui.moveTo(1192,103,4)
pyautogui.click() # open message
time.sleep(2)
pyautogui.typewrite('Type a message\n')
while True:
now = time.localtime()
current_time = time.strftime("%H:%M:%S")
if current_time == "08:30:00":
morning_join_meet_process_math()
break