Re: Test and Toggle Wi-Fi in Sierra
Re: Test and Toggle Wi-Fi in Sierra
- Subject: Re: Test and Toggle Wi-Fi in Sierra
- From: "S. J. Cunningham via AppleScript-Users" <email@hidden>
- Date: Thu, 4 Jan 2024 15:59:23 -0500
I would just ping a known server like Google. If you get no response, reset
the WiFi.
> On Jan 4, 2024, at 3:34 PM, Gil Dawson via AppleScript-Users
> <email@hidden> wrote:
>
> I have an old Mini running Sierra (10.12.6) which I use as a personal
> webserver. Once in a while it "loses" its Wi-Fi connection -- the familiar
> symbol becomes blank. The fix is to turn off Wi-Fi, then turn it on again.
> Simple.
>
> This is a nuisance when I'm nowhere near the Mini yet want to use the server,
> so I propose to write an AppleScript to do this automatically.
>
> Periodically, every few minutes or so, it would check the Wi-Fi status. If
> it's not connected, it would cycle the Wi-Fi.
>
> Is this a practical project? Has it been done?
>
> Any ideas on how to perceive the Wi-Fi status and control the Wi-Fi from an
> AppleScript?
>
> I've been looking at network preferences in the System Events sdef. Is there
> a better topic?
>
> --Gil
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden