Toggling viewer pane

I created a keyboard shortcut to toggle viewer pane. Sadly after restarting DOpus viewer pane is always opened at the right while i'd prefer it to always open at the bottom.
is there some script command i can use to set position and size?


Use Set VIEWPANE=Toggle,Horiz if you want the button to toggle it on and off, with it horizontal when it's on.