NX Witness Not Launching on Second Screen with CLI
CompletedI have a CLI batch script to start two instances of NX Witness on two separate screens. I have confirmed it works normally when it's just one monitor plugged in.
However, the moment the second monitor is plugged in, it will not launch NX Witness at all. Removing the "--screen=2" parameter will allow two instances to be up but when it is involved, it will not open properly.
-
Hi Christian Ivanaj,
Can share some more details?
What do you mean with:
it will not open properly.
Perhaps you can share the script and a screen recording of the issue to clarify the issue.
-
"C:\Program Files\Network Optix\Nx Witness\Client\4.2.0.32840\HD Witness Launcher.exe" --auth=http://[LOGIN]:[PASSWORD]@[IP:PORT] --layout-name=BP-TR1-05 --no-single-application
"C:\Program Files\Network Optix\Nx Witness\Client\4.2.0.32840\HD Witness Launcher.exe" --auth=http://[LOGIN]:[PASSWORD]@[IP:PORT] --layout-name=BP-TR1-06 --no-single-application --screen=2What do you mean with:
" it will not open properly."
It means it will open the first window just fine. However, the second screen will not open at all. Regardless of any parameters specified in the script.
-
Hi Christian Ivanaj,
Sorry for the delay, but there were other priorities and some PTO. Please also check THIS topic about our response times.
I would create the following batch script:
@echo off
cd "<pathToApplicationFolder>"
start "" "HD Witness.exe" --parameter(s)
start "" "HD Witness.exe" --parameter(s)I wasn't able to test it yet with the Nx Application, but was able to do it with another application and that worked just fine.
The path to the application folder can be found by executing step 1 - 4 in THIS support article.
-
This doesn't seem to be working either. It only has something to do with the "--screen=2" parameter because removing it causes the second instance/window to work just fine.
While that script launches the first window as normal, it still is not the solution to my second screen problem.
-
Hi Christian Ivanaj,
If you exclude the first screen from the command, and only allow the application to open on --screen=2, does this work?
Please sign in to leave a comment.
Comments
7 comments