Automating Zoom

๐๐๐๐๐๐ ๐ก๐๐๐๐
Search for a command to run...

๐๐๐๐๐๐ ๐ก๐๐๐๐
The main aim of this tutorial is to make people comfort with pyautogui ๐
I'm a Graduate student at UT Arlington. I always feel that taking care of both physically and mentally are essential to our success. So, I start my daily routine at Fitness Recreation Center (gym) and registering slots daily is a hassle and due to co...

You might have seen some people using completely different source labels. Well, today we will see how to change the Twitter source label First, we need to have a Twitter developer account, if you don't have. 1) Just navigate to Twitter Developer web...

We all know, Artificial Intelligence (AI) is one of the most transformative tech evolutions of our times. Well, if you still not aware of what AI is? It is the simulation of human intelligence in machines that are programmed to think like humans and ...

I'm a Indian and I recently moved to the USA to pursue my Master's degree at UT Arlington. So I need to carry some essential documents digitally like passport, health reports and other Government id's to be on the safer side and I don't want others t...

In Machine Learning classification problems, there are often too many factors on the basis of which the final classification is done. These factors are basically variables called features. The higher the number of features, the harder it gets to visu...

Well, we all know Zoom is a video conferencing app which allows us to attend/conduct meetings. And because of this pandemic situation, the usage of these video conferencing apps also increased drastically and even for school kids this became a new normal and sometimes these continuous online classes becomes cumbersome.
ย ย ย And today we gonna learn how to automate zoom such that it automatically logs into one's meetings/classes on time.
For this, we need
import os
import pandas as pd
import pyautogui
import time
from datetime import datetime
os - Provides a way of using operating system dependent functionality.
pandas - Allows us to store and manipulate tabular data in rows and columns of variables.
pyautogui - A module which helps to control the mouse and keyboard, and other GUI automation tasks.
2. Open's zoom application from the specified location
os.startfile(" ")
3. To click join button
#place the pic location inside quotes
joinbtn=pyautogui.locateCenterOnScreen("")
pyautogui.moveTo(joinbtn)
pyautogui.click()

4. Similarly, like join button we have to take screenshot of every button to click or to locate
#To type the meeting id
#place the picture location inside quotes
meetingidbtn=pyautogui.locateCenterOnScreen("")
pyautogui.moveTo(meetingidbtn)
pyautogui.write(meeting_id)
5. To enter passcode
#Enter the passcode to join meeting
passcode=pyautogui.locateCenterOnScreen("")
pyautogui.moveTo(passcode)
pyautogui.write(password)
6. Create an excel file and add all meeting details like "Timings", "Meeting id" and "Password"

7. Now import that excel file using pandas
#place excel file location inside quotes
df = pd.read_excel('',index=False)
8. Now we will write while loop to constantly check for the current time and compare the timings in excel file
while True:
#To get current time
now = datetime.now().strftime("%H:%M")
if now in str(df['Timings']):
mylist=df["Timings"]
mylist=[i.strftime("%H:%M") for i in mylist]
c= [i for i in range(len(mylist)) if mylist[i]==now]
row = df.loc[c]
meeting_id = str(row.iloc[0,1])
password= str(row.iloc[0,2])
time.sleep(5)
signIn(meeting_id, password)
time.sleep(2)
print('signed in')
break
Check out my GitHub repo to get code and assets for buttons
import os
import pandas as pd
import pyautogui
import time
from datetime import datetime
def signIn(meeting_id,password):
#Open's Zoom Application from the specified location
os.startfile("")
time.sleep(3)
#Click's join button
joinbtn=pyautogui.locateCenterOnScreen("")
pyautogui.moveTo(joinbtn)
pyautogui.click()
time.sleep(1)
#Type the meeting id
meetingidbtn=pyautogui.locateCenterOnScreen("")
pyautogui.moveTo(meetingidbtn)
pyautogui.write(meeting_id)
time.sleep(2)
#To turn of video and audio
mediaBtn=pyautogui.locateAllOnScreen("")
for btn in mediaBtn:
pyautogui.moveTo(btn)
pyautogui.click()
time.sleep(1)
#To join
join=pyautogui.locateCenterOnScreen("")
pyautogui.moveTo(join)
pyautogui.click()
time.sleep(2)
#Enter's passcode to join meeting
passcode=pyautogui.locateCenterOnScreen("")
pyautogui.moveTo(passcode)
pyautogui.write(password)
time.sleep(1)
#Click's on join button
joinmeeting=pyautogui.locateCenterOnScreen("")
pyautogui.moveTo(joinmeeting)
pyautogui.click()
time.sleep(1)
df = pd.read_excel('',index=False)
while True:
#To get current time
now = datetime.now().strftime("%H:%M")
if now in str(df['Timings']):
mylist=df["Timings"]
mylist=[i.strftime("%H:%M") for i in mylist]
c= [i for i in range(len(mylist)) if mylist[i]==now]
row = df.loc[c]
meeting_id = str(row.iloc[0,1])
password= str(row.iloc[0,2])
time.sleep(5)
signIn(meeting_id, password)
time.sleep(2)
print('signed in')
break
If you like my content, please consider supporting me