Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ This python script signs into your zoom meetings / classes on time **automatical
## A Video Tutorial
https://www.youtube.com/watch?v=V3IOfvGmqxs

## ZOOM Setup instructions for muting mic and camera when joining

**Look ZOOM setup instructions folder**

## Setup instructions

**Requirements:** python-3.8.6
Expand Down
Binary file added ZOOM setup instructions/Capture.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ZOOM setup instructions/Capture2.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ZOOM setup instructions/Capture3.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified automatic_signin.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified join_btn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified join_button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
70 changes: 42 additions & 28 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,61 +4,75 @@
import pandas as pd
from datetime import datetime

#automated the installation of pip packages
try:
subprocess.call("pip3 install pandas")
subprocess.call("pip3 install pyautogui")
except:
pass

curtime = datetime.now().strftime("%H:%M")
print("Current time -> " + curtime)
def sign_in(meetingid, pswd):
#Opens up the zoom app
#change the path specific to your computer

#If on windows use below line for opening zoom
#subprocess.call('C:\\myprogram.exe')
ZOOM_EXECUTABLE = "C:\\Users\\username\\AppData\\Roaming\\Zoom\\bin\\Zoom.exe"
subprocess.call(ZOOM_EXECUTABLE)

#If on mac / Linux use below line for opening zoom
subprocess.call(["/usr/bin/open", "/Applications/zoom.us.app"])

time.sleep(10)
#subprocess.call(["/usr/bin/open", "/Applications/zoom.us.app"])

print("Zoom launching")
time.sleep(10) #wait for zoom launch
print("Zoom launched")

#clicks the join button
join_btn = pyautogui.locateCenterOnScreen('join_button.png')
pyautogui.moveTo(join_btn)
time.sleep(1)
pyautogui.click()

print("Join clicked")
time.sleep(4)

# Type the meeting ID
meeting_id_btn = pyautogui.locateCenterOnScreen('meeting_id_button.png')
pyautogui.moveTo(meeting_id_btn)
pyautogui.click()
#no need to click meeting id textbox because its allready focused
pyautogui.write(meetingid)

# Disables both the camera and the mic
media_btn = pyautogui.locateAllOnScreen('media_btn.png')
for btn in media_btn:
pyautogui.moveTo(btn)
pyautogui.click()
time.sleep(2)
print("Entered meeting id")

time.sleep(2)

# Disables both the camera and the mic when joining please follow readme instructions
#clicking check box are unreliable and unstable

# Hits the join button
join_btn = pyautogui.locateCenterOnScreen('join_btn.png')
pyautogui.moveTo(join_btn)
pyautogui.click()

print("Join button clicked")
time.sleep(5)

#Types the password and hits enter
meeting_pswd_btn = pyautogui.locateCenterOnScreen('meeting_pswd.png')
pyautogui.moveTo(meeting_pswd_btn)
pyautogui.click()
#no need to click meeting password textbox because its allready focused

pyautogui.write(pswd)
time.sleep(1)
pyautogui.press('enter')


print("Password entered")
print("End of a login cycle")
# Reading the file
df = pd.read_csv('timings.csv')

while True:
# checking of the current time exists in our csv file
now = datetime.now().strftime("%H:%M")
if now in str(df['timings']):

row = df.loc[df['timings'] == now]
m_id = str(row.iloc[0,1])
m_pswd = str(row.iloc[0,2])

sign_in(m_id, m_pswd)
time.sleep(40)
print('signed in')
row = df.loc[df['timings'] == now]
m_id = str(row.iloc[0,1])
m_pswd = str(row.iloc[0,2])
sign_in(m_id, m_pswd)
time.sleep(40)
print('signed in')
Binary file removed media_btn.png
Binary file not shown.
Binary file removed meeting_id_button.png
Binary file not shown.
Binary file removed meeting_pswd.png
Binary file not shown.
3 changes: 1 addition & 2 deletions timings.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
timings,meetingid,meetingpswd
,,
,,
15:18,929 1379 6591,292610