• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Test and Toggle Wi-Fi in Sierra
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Test and Toggle Wi-Fi in Sierra


  • Subject: Test and Toggle Wi-Fi in Sierra
  • From: Gil Dawson via AppleScript-Users <email@hidden>
  • Date: Thu, 4 Jan 2024 12:34:44 -0800

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

  • Follow-Ups:
    • Re: Test and Toggle Wi-Fi in Sierra
      • From: "S. J. Cunningham via AppleScript-Users" <email@hidden>
  • Prev by Date: Re: Script broken in macOS Sonoma 14.2.1
  • Next by Date: Re: Test and Toggle Wi-Fi in Sierra
  • Previous by thread: Re: Script broken in macOS Sonoma 14.2.1
  • Next by thread: Re: Test and Toggle Wi-Fi in Sierra
  • Index(es):
    • Date
    • Thread