From a2805fb932e6600009b737a8c98030fdd2b9db26 Mon Sep 17 00:00:00 2001 From: Narsty Date: Sat, 3 Jun 2023 17:02:46 -0500 Subject: [PATCH] Update Toggle Wifi.txt allows for more time to stop the script when the wifi turns off --- Goodusb/Toggle Wifi.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Goodusb/Toggle Wifi.txt b/Goodusb/Toggle Wifi.txt index b0a9e41..a3660a9 100644 --- a/Goodusb/Toggle Wifi.txt +++ b/Goodusb/Toggle Wifi.txt @@ -1,5 +1,5 @@ REM Toggle Wifi -REM You'll need to STOP the Script after you see the wifi turn off (about 3 seconds) +REM You'll need to STOP the Script after you see the wifi turn off (about 4 seconds) REM To turn the wifi Back On let the script run all the way through REM Author: Narsty @@ -20,10 +20,11 @@ ENTER DELAY 500 STRING networksetup -setairportpower en0 off ENTER -DELAY 2000 +DELAY 4000 STRING networksetup -setairportpower en0 on ENTER DELAY 500 -STRING echo "Wi-Fi toggled!" +GUI q +DELAY 500 ENTER