Skip to content

Commit 5ea19df

Browse files
committed
added function to join zoom meeting link and used lint
1 parent b60fda9 commit 5ea19df

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

gmeet_zoom_joiner/gmeet_zoom_bot.py

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import webbrowser
33
import schedule
44
import pyautogui
5-
from PIL import ImageGrab
65
import pyperclip
76

87

@@ -29,7 +28,7 @@ def gMeet(url):
2928

3029

3130
def zMeet(url):
32-
#copy link
31+
# copy link
3332
pyperclip.copy(url)
3433

3534
time.sleep(0.2)
@@ -38,36 +37,36 @@ def zMeet(url):
3837

3938
time.sleep(0.3)
4039

41-
#open shart
40+
# open shart
4241
pyautogui.press('win', interval=0.5)
43-
#type zoom
42+
# type zoom
4443
pyautogui.write('zoom')
4544
time.sleep(2)
46-
#press enter
45+
# press enter
4746
pyautogui.press('enter', interval=0.5)
4847

4948
time.sleep(8)
5049

51-
#Click zoom button
50+
# Click zoom button
5251
x, y = pyautogui.locateCenterOnScreen('zoom_btn.png')
5352
pyautogui.click(x, y)
5453

5554
pyautogui.press('enter', interval=0.5)
5655

57-
#paste link
56+
# paste link
5857
pyautogui.hotkey('ctrl', 'v')
5958

60-
#use tabs to move to next section
59+
# use tabs to move to next section
6160
pyautogui.press('tab', interval=0.5)
6261
pyautogui.press('tab', interval=0.5)
6362
pyautogui.press('tab', interval=0.5)
64-
pyautogui.press('enter', interval=0.5) #mute mic
63+
pyautogui.press('enter', interval=0.5) # mute mic
6564

6665
pyautogui.press('tab', interval=0.5)
67-
pyautogui.press('enter', interval=0.5) #turn off camera
66+
pyautogui.press('enter', interval=0.5) # turn off camera
6867

6968
pyautogui.press('tab', interval=0.5)
70-
pyautogui.press('enter', interval=3) #join zoom link
69+
pyautogui.press('enter', interval=3) # join zoom link
7170

7271

7372
if __name__ == "__main__":

gmeet_zoom_joiner/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Pillow==8.4.0
21
PyAutoGUI==0.9.52
32
pyperclip==1.8.2
43
schedule==1.1.0

0 commit comments

Comments
 (0)