I've been trying to make a btt button that will toggle express vpn's smart location connection. So far I haven't found any commands to do this as express vpn uses its own app rather than default OS X vpn setup.
The best I've been able to do is an indicator button to show when its connected.
set activeInterfaces to do shell script "ifconfig -lu" if activeInterfaces contains "utun4" then return true else return false end if
Icons I've made below, I couldn't find the official menu bar ones
If anyone knows a way to get this working with the expressvpn app please let me know.