Mario,Is that command not working for you or you haven't tested it yet?
It should switch all inputs including optical assuming the switcher is still in basic mode.
The command is not working. The unit is in basic mode. The above command switched to component video (which was right) and coax-digital audio. The optical is not active in this scenario. I had to change via IR to get the unit to have optical audio on.