Are there cli parameters that I can use to open a new opus or use the last opened existing opus to display the contents of a folder and select a specific filename?
I have a ScanSnap scanner that I use to convert docs to pdfs and store them in a specific directory. Currently I have the program setup to launch opus and it displays the new pdf in the default view. When I scan several documents, I get a separate opus window for each one. I would like to be able to specify the type of opus view ( image, explorer, etc...) and open a new opus window if none are currently active or reuse the last currently open one.
Is there a way using a script or combination of cli arguments to do this?
Any help or examples would be great.
The Go command takes care of your wish to re-use an existing window if there is one, and open a new one if there isn't, automatically. The only thing I can't see how to do right now is how to make the old window come to the front.