It doesn't matter what you're switching, the loops behave the same. No matter if it is digital preamps or heads you're switching. And actually, when you're going to switch between the heads, it will be the preamp sections you'll be switching. Unless you're going to use the slave outs into an external poweramp.
You put the amplifier sends into the amp inputs and put the effect sends from the amps (or slave outs, depending on what you want to do) back into the amplifier returns. Then, you get a combined mono output which you can either put into the power section (effects return) of one of the amps (or both, with a Y-splitter cable) using the effects send as a preamp out, or use the slave out or effects send and put the combined mono signal into an external poweramp.
Thing is, that the amp switcher uses latching tip-to-ground relays where each one of them activates a loop. You'll have to use a tip-to-ground switcher to select the amps. Like the one in my previous post. Some midi-footcontrollers do have the switching relays, though. Like the Behringer FCB1010. You simply plug normal guitar leads between the relay output and the Amplifier Select jacks on the Amp Switcher and use the controller to select which amps are on. Again, to toggle between two amps, you'll have to program the controller to switch between programs where one amp is on and the other one if off. Otherwise, when you press on the amp you want to turn on, the previous one will still stay on as well, and you'll get the sound of your two amps at once. (which can also be a cool thing, btw
)