-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdriver.py
More file actions
37 lines (33 loc) · 738 Bytes
/
Copy pathdriver.py
File metadata and controls
37 lines (33 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#gensim]
import asyncio
import os
import openapps
import findtiktokvideo
import record
import popupdetection
import time
import splitvideos
import vidtotext
import subprocess
import emailer
from collections import deque
HOURS = 3600
NUM_HOURS = 2
fiveMin = 60*5
openapps.open_firefox()
record.connect_to_ws()
record.start_recording()
start_time = time.time()
while True:
popupdetection.monitor_screen_for_popup()
elapsed_time = time.time() - start_time
if elapsed_time >= fiveMin:
openapps.mouse_center
popupdetection.scroll_live
fiveMin += 300
if elapsed_time >= (HOURS*NUM_HOURS):
break
openapps.open_obs()
openapps.stop_recording()
os.system("pkill firefox")
emailer.send_email()