lazy-connect
lazy-connect copied to clipboard
Support for Apple BigSur
Hello team - I have been using lazy-connect on Mojave. After upgrading to Big Sur it stopped working. Now it throws the following error -
Storing secret in keychain... 97:153: execution error: System Events got an error: Can’t get menu bar 1 of process “SystemUIServer”. Invalid index. (-1719) Storing the VPN list...
It would be great if the team could add support for Big Sur
These resources might help
- https://www.geofftaylor.me/2020/scripting-the-menu-bar-in-macos-big-sur/
- https://stackoverflow.com/questions/29699577/applescript-click-menu-bar-option
- https://www.reddit.com/r/applescript/comments/ivx3uc/big_sur_beta_cant_get_menu_bar_item_notification/
@ckzgraphics lazy-connect is working fine on my laptop (Big Sur) if you tick the "Show VPN status in menu bar" (Go to the System Preferences > Network > Select the VPN > tick the "Show VPN status in menu bar").

Hope this help