Update Operation Shadow Watcher/interceptor-aps.py
This commit is contained in:
@@ -16,7 +16,7 @@ p_path = "" # used only if program = 0.
|
||||
|
||||
# ---------- BRING TO FRONT ---------- #
|
||||
def bring_to_front(window_title):
|
||||
time.sleep(0.1)
|
||||
time.sleep(0.5)
|
||||
try:
|
||||
print("Bringing to front...", end = " ")
|
||||
windows = gw.getWindowsWithTitle(window_title)
|
||||
@@ -52,7 +52,7 @@ def minimize():
|
||||
|
||||
# ---------- LAUNCH COVER PROGRAM ---------- #
|
||||
def launch_cover(programs):
|
||||
time.sleep(0.1)
|
||||
time.sleep(0.5)
|
||||
print("=" * 80)
|
||||
print("Launching cover application...", end = " ")
|
||||
if programs == "1": # Chrome
|
||||
@@ -97,7 +97,7 @@ def launch_cover(programs):
|
||||
# ---------- LAUNCH COVER PROGRAM PATH ---------- #
|
||||
def launch_cover_path(path):
|
||||
print("Launching custom path...", end = " ")
|
||||
time.sleep(0.1)
|
||||
time.sleep(0.5)
|
||||
subprocess.run(
|
||||
[path]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user