I was wondering if setting the layout is possible using the jnlp file. I have sent some commands and they work, for instance:
<argument>$dicom:close -a</argument>
To close everything before opening a new study.
Now, I am trying the following to start weasis with a 1x2 view
<argument>$dicom:get -i ....data....</argument>
<argument>$dcmview2d:layout -n 2</argument>
The images take a while to load. This isn't working the first time, if I open the jnlp again it works. (It also works if I telnet to Weasis once the images are there)
I get the feeling that the layout command is sent before the images had a chance to load so it fails the first time, but I could be wrong.
Any insights? that command would be so useful for creating at least something similar to hanging protocols server side before launching the viewer.