AR750S-How to configure Switch Button to select one or another WISP network

Hello!
I want to know, if it is possible to do this, the commands to make easier to select one or other WISP configured in Luci by using the Switch Button. I only connect to 2 available WIFI networks so I have to go Luci and Disable one network in Wireless menu and Enable the other. Also can I configure time (seconds) to allow for one network to shut down and the other to wake up?
Can I make this with the Switch Button?

Thx.

Do you know how to write a `nix shell script? That is how actions are usually tied to the position or change of position of the switches.

No, I don’t know. I will investigate now a little bit. Thank you!