I want the ability to toggle between two wireless states:
Only connect to Access Point A, disconnect from anything else right now, try to connect to AP-A.
Only connect to AP-B or AP-C, disconnect from AP-A, try to connect to anything allowed.
The second halves of each could easily be the same code (disconnect from everything, connect to anything allowed) but how do I script the first bit?
This can be achieved manually by opening the connections settings screen, editing a connection, and toggling the "Connect Automatically" checkbox.