# Multimonitor system

**URL:** <https://forum.inductiveautomation.com/t/multimonitor-system/10767>\
**Category:** General Discussion\
**Created:** [November 10, 2015, 2:02pm UTC](https://forum.inductiveautomation.com/t/multimonitor-system/10767 "2015-11-10T14:02:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pgmo](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pgmo](https://forum.inductiveautomation.com/u/pgmo)\
**Post date:** [November 10, 2015, 2:02pm UTC](https://forum.inductiveautomation.com/t/multimonitor-system/10767/1 "2015-11-10T14:02:09Z")

</div>

I have a configuration where 5 monitors are connected to the same server. Following the hints in:  
[https://support.inductiveautomation.com/index.php?/Knowledgebase/Article/View/89/0/launch-project-to-multiple-monitors](https://support.inductiveautomation.com/index.php?/Knowledgebase/Article/View/89/0/launch-project-to-multiple-monitors)  
I managed to launch 5 times the same project on the server with 5 different startup pages, one different page for each monitor.  
I select the startup page for each monitor in the client event script: there I get the value of the Monitor client variable which is set by the Native Client Launcher

`thisMonitor=system.tag.read("[Client]Monitor").value
system.gui.setScreenIndex(thisMonitor)
`  
then, based on the thisMonitor value, I show a different startup page in each monitor:

`if thisMonitor==0:
	system.nav.swapTo("MainPage")
elif thisMonitor==1:
	system.nav.swapTo("RecipeMain")
elif thisMonitor==2:
	system.nav.swapTo("MotorsPage")
`  
What’s weird, is that the monitor index is not the same as the Windows Identify command shows. Second if I unplug a monitor and then plug it in again, monitor numbering changes and my script is no more valid.  
I know this is not a problem of Ignition, but maybe someone of you has already found a solution.

Thank you in advance,  
regards

---

<div class="post-metadata">

**Author:** ![cmisztur2](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmisztur2/32/4243_2.png) [@cmisztur2](https://forum.inductiveautomation.com/u/cmisztur2)\
**Post date:** [November 17, 2015, 12:53am UTC](https://forum.inductiveautomation.com/t/multimonitor-system/10767/2 "2015-11-17T00:53:16Z")

</div>

This sounds like an ambitious setup.  
I would like to see it.

Can you run the script on a timer do detect changes?  
Can you hook into Java classes and get notification of monitor count change? ([docs.oracle.com/javase/7/docs/ap … nment.html](http://docs.oracle.com/javase/7/docs/api/java/awt/GraphicsEnvironment.html)) ( I am not a Java guy ![:/](https://us1.discourse-cdn.com/inductiveautomation/original/1X/8e510869ae26fbd7ab76e1e731ceea2054ef109c.gif "Hrm") )
