Skip to content

KejariwalAyush/Online-Class-Automation

Repository files navigation

Zoom Automation

A python script that automatically joins a zoom meeting based on your timetable.

What does it do?

It performs the following processes:

  1. Checks the "meetingschedule.csv" file to look for meetings that are going to start.
  2. Checks the path of zoom application from path.txt to launch the app.
  3. As soon as the current time matches any meeting time it opens the Zoom Desktop application.
  4. Navigates the cursor automatically to various steps to join the meeting.
  5. The meeting ID and passcode are extracted from "meetingschedule.csv" and entered into the Zoom app automatically.

Prerequisites

  1. Zoom app must be installed in your system.
  2. You must be logged in to your Zoom account.
  3. Install Visual C++ Redistributable form net or file attached with it.
  4. Meeting time for the day along with Meeting ID and passcode must be entered manually into the "meetingschedule.csv"

How to use with Python?

  1. The best way to use my script is to firstly clone the git repo where you want to.
  2. Be sure to add the location where Zoom.exe is installed in your system in the line 20 of the Code file.
  3. Open "meetingschedule.csv" and fill in the Meeting Time, Meeting ID and Passcode of each meeting you want to join automatically.
  4. Open "Zoom.py".

NOTE: Meeting Time must be in Hours and Minutes format only!

What happens behind the scene?

  1. An infinite loop keeps checking the current time of the system using "datetime.now" funtion.
  2. The zoom app is opened using "subprocess.Popen()" funtion as soon as current time matches the time mentioned in "meetingschedule.csv".
  3. "pyautogui.locateOnScreen()" function locates the image of join button on the screen and returns the position.
  4. "pyautogui.moveTo()" moves the cursor to that location.
  5. "pyautogui.click()" performs a click operation.
  6. The meeting Id and Passcode are entered using the "keyboard.write()" command.