you can right click on a #channel on the switchbar and select position->save all when it's full screen.
or you want to do it by code?