A new OS in the fall means it's time to review and update EAs.
Post your new versions that will support macOS Sequoia (15).
I realized that I still had one using `airport` (which is (way) deprecated), so here's my new Current Wi-Fi.sh:
#!/bin/bash
# 1.3 240808 PWC
SSID=$(/usr/bin/wdutil info | awk -F: '/SSID/ { print $NF;exit } ')
SSID=${SSID:1}
if [[ -z $SSID ]]; then
echo "<result>Not Connected</result>"
else
echo "<result>${SSID}</result>"
fi
exit 0
Let's f^%#!^ go!
