Skip to content
This repository was archived by the owner on Dec 22, 2023. It is now read-only.

Commit 065e50d

Browse files
authored
Merge pull request #501 from Anshul275/Anshul275
Zoom Meetings Automater
2 parents ff1f24f + 7ebc88d commit 065e50d

File tree

15 files changed

+100
-0
lines changed

15 files changed

+100
-0
lines changed
+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<h1 align=center>Zoom Meetings Automation</h1>
2+
3+
Python script that starts a zoom meeting - Meeting ID and Passcode are taken from the console. It joins the meeting automatically with camera and mic off.
4+
5+
## *Author Name*
6+
[Anshul Pandey](https://github.com/Anshul275)
7+
8+
## Pre-Requisites
9+
10+
Run The Command `pip install -r requirements.txt`
11+
12+
`1.` Python - 3 must be installed
13+
`2.` Zoom App must be installed
14+
`3.` Add the path of zoom app to the python-script
15+
`4.` No need to sign-in/sign-up to the app
16+
`5.` Only for initials - Type your name and choose Remember my name for future meetings
17+
![Screenshot](screenshots/3.png)
18+
19+
## To Run the File
20+
21+
For Windows - `python automate.py`
22+
23+
For Ubuntu/Linux - `python3 automate.py`
24+
25+
## Screenshots -
26+
`INFO` All the working screenshots are attached in "screenshots" directory
27+
### Some Working Screenshots (Windows)
28+
29+
![Screenshot](screenshots/1.png)
30+
##
31+
![Screenshot](screenshots/3.png)
32+
##
33+
![Screenshot](screenshots/4.png)
34+
##
35+
![Screenshot](screenshots/6.png)
+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
import time, subprocess, pyautogui
2+
from pynput.keyboard import Key, Controller
3+
4+
# In this program all the text-fields, buttons, check-boxes are located using screenshots
5+
# You can change the sleep-time as per the loading time of your pc
6+
7+
# Method to host a new meeting with video off and audio off
8+
def zoom_automate(meeting_id, meeting_passcode):
9+
# Opens the zoom app
10+
# Change the path to the one where zoom app is stored
11+
subprocess.Popen("C:\\Users\\pc\\AppData\\Roaming\\Zoom\\bin\\Zoom.exe")
12+
13+
## Opening time for App
14+
time.sleep(10)
15+
16+
# To press the "Join a Meeting" button
17+
join_a_meeting = pyautogui.locateOnScreen("trainer\\join1.png")
18+
pyautogui.click(join_a_meeting)
19+
20+
# Waiting time for next screen to load
21+
time.sleep(10)
22+
23+
# To type the meeting_id
24+
pyautogui.typewrite(meeting_id)
25+
26+
# To join the meeting with video turned off
27+
video_off = pyautogui.locateOnScreen("trainer\\videooff.png")
28+
pyautogui.click(video_off)
29+
30+
# To press the join button to move to "Meeting Passcode" screen
31+
join = pyautogui.locateOnScreen("trainer\\join2.png")
32+
pyautogui.click(join)
33+
34+
# Waiting time for next screen to load
35+
time.sleep(10)
36+
37+
# To type the meeting_passcode
38+
pyautogui.typewrite(meeting_passcode)
39+
40+
# Finally to join the meeting
41+
final_join = pyautogui.locateOnScreen("trainer\\finaljoin.png")
42+
pyautogui.click(final_join)
43+
44+
# Waiting time for the host to admit the user in meeting
45+
time.sleep(30)
46+
47+
# To join with the computer Audio
48+
join_audio = pyautogui.locateOnScreen("trainer\\computeraudio.png")
49+
pyautogui.click(join_audio)
50+
51+
time.sleep(1)
52+
# To mute using shortcut key - "Alt+A"
53+
mute = Controller()
54+
mute.press(Key.alt_l)
55+
mute.press('a')
56+
mute.release('a')
57+
mute.release(Key.alt_l)
58+
59+
60+
# Automating Zoom Meeting
61+
if __name__ == "__main__":
62+
meeting_id = input("Meeting Id: ")
63+
meeting_passcode = input("Meeting Passcode: ")
64+
print("\nZoom App is starting.......")
65+
zoom_automate(meeting_id, meeting_passcode)
112 Bytes
Binary file not shown.
8.23 KB
Loading
9.98 KB
Loading
Loading
8.75 KB
Loading
14.8 KB
Loading
Loading
39.4 KB
Loading
Loading
Loading
942 Bytes
Loading
686 Bytes
Loading
Loading

0 commit comments

Comments
 (0)