I read the docs for the VCMD and the show command and am still lost.
I have tried a number of things so far with no desirable results. As a test I am trying to open a PDF file from Terminal. Either nothing happens or the viewer closes.
dopusrt.exe /vcmd Show "C:\Users\...\...\Document.pdf" viewpanecmd=open
dopusrt.exe /vcmd Show VIEWERCMD="open,C:\Users\...\...\Document.pdf"
Invokes an Opus command from outside of Opus, in the context of the currently (or most recently) active image viewer. If no image viewers are open the command will be ignored.
I did consider this note and did have a viewer window open during my tests. Sometimes the viewer closes when I run a command.
/vcmd is for sending commands to an existing viewer. If you want to open a file in a new viewer the easiest way is to use d8viewer.exe, e.g. d8viewer.exe "c:\users\...\...\Document.pdf".
Thanks Jon, I tested your example and was able to open the document.
However, calling d8viewer.exe again with another file replaces the open viewer.
I really want to use the VCMD command with Show, as I need of the options show offers.
Can you please show me a correct invocation of /vcmd with show?
/vcmd is for sending a specific subset of commands to an open viewer (specifically, the viewer commands that are available from the Show VIEWERCMD command). If you want to use the Show command itself then you should use /acmd.