After using doc -m 0 to minimise Origin I found (just gave it a go!) I need doc -m 3 to restore Origin application to maximised view. What should be happening here (no details in documentation).
I find :
doc -m 0 minimises Origin keeping script window in view doc -m 1 (as shown in examples) results in a reduced origin application. doc -m 2 minimises origin and script window doc -m 3 maximises origin doc -m 4 - as doc -m 1?
This was implemented 2/21/2003 tracker 3684. Basically, the value after -m is passed into windows API function ShowWindow, with the following copied from winuser.h