Can't you do something like have a counter and a npn transistor array so that only one pot is connected to 5V and gnd, all others are neither receiving 5V or connected to ground ?
Question aimed at anyone who can advise whether this will work ?
Duane B