This project is designed for a 1920x1080 screen and launches two Secure Viewers each with a 960x1080 resolution that open up side by side. Each Secure Viewer allows for separate users to be logged in as well as for localized tags to be manipulated and displayed.
A valid Viewer.ini pointing to the project's APP file must exist in the Indusoft install directory\Bin folder. The Viewer.ini file can be properly created by running ViewerCfg.exe located in the Indusoft install directory\Bin folder.
A Global procedure is used to launch each Viewer instead of automatically launching Viewers through the Viewer task using the WinExec() function. Another procedure is used to end all Viewers and Shutdown the runtime. The Graphics script contains the logic for determining the size and placement of each Viewer that's opened. Finally, a script worksheet is utilized to make the call to the procedure that launches additional Viewers.
The project folder additionally contains a README.txt detailing the reasoning and setup of the Viewer.ini file, a template Viewer.ini file that can be optionally used, and the 'How to Display InduSoft Web Studio Applications on Two Monitors.pdf' Application Note from which this project is derived from.