Update Operation Shadow Watcher/interceptor-aps.py

This commit is contained in:
2026-01-28 09:05:31 -05:00
parent 9cee23611d
commit 7203caa0d1

View File

@@ -16,7 +16,7 @@ p_path = "" # used only if program = 0.
# ---------- BRING TO FRONT ---------- # # ---------- BRING TO FRONT ---------- #
def bring_to_front(window_title): def bring_to_front(window_title):
time.sleep(0.1) time.sleep(0.5)
try: try:
print("Bringing to front...", end = " ") print("Bringing to front...", end = " ")
windows = gw.getWindowsWithTitle(window_title) windows = gw.getWindowsWithTitle(window_title)
@@ -52,7 +52,7 @@ def minimize():
# ---------- LAUNCH COVER PROGRAM ---------- # # ---------- LAUNCH COVER PROGRAM ---------- #
def launch_cover(programs): def launch_cover(programs):
time.sleep(0.1) time.sleep(0.5)
print("=" * 80) print("=" * 80)
print("Launching cover application...", end = " ") print("Launching cover application...", end = " ")
if programs == "1": # Chrome if programs == "1": # Chrome
@@ -97,7 +97,7 @@ def launch_cover(programs):
# ---------- LAUNCH COVER PROGRAM PATH ---------- # # ---------- LAUNCH COVER PROGRAM PATH ---------- #
def launch_cover_path(path): def launch_cover_path(path):
print("Launching custom path...", end = " ") print("Launching custom path...", end = " ")
time.sleep(0.1) time.sleep(0.5)
subprocess.run( subprocess.run(
[path] [path]
) )