# Open same client on multiple monitors with specific UDT instance as a parameter to the window (if connected) with one button click

**URL:** <https://forum.inductiveautomation.com/t/open-same-client-on-multiple-monitors-with-specific-udt-instance-as-a-parameter-to-the-window-if-connected-with-one-button-click/14824>\
**Category:** Ignition\
**Created:** [July 18, 2017, 8:58pm UTC](https://forum.inductiveautomation.com/t/open-same-client-on-multiple-monitors-with-specific-udt-instance-as-a-parameter-to-the-window-if-connected-with-one-button-click/14824 "2017-07-18T20:58:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Srinivasa](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@Srinivasa](https://forum.inductiveautomation.com/u/Srinivasa)\
**Post date:** [July 18, 2017, 8:58pm UTC](https://forum.inductiveautomation.com/t/open-same-client-on-multiple-monitors-with-specific-udt-instance-as-a-parameter-to-the-window-if-connected-with-one-button-click/14824/1 "2017-07-18T20:58:29Z")

</div>

With the click of a button on navigation window, I need to open three more clients on three other attached monitors, if they are connected, to the same computer that the current client is running on. On each monitor, the project opens a window whose parameter is a UDT instance, that the window represents. How to check for how many monitors are connected? How to open the same window on a separate monitor? How do you pass the right instance of the UDT to the correct monitor?

Thanks

---

<div class="post-metadata">

**Author:** ![Paolo.Mariani](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paolo.mariani/32/3285_2.png) [@Paolo.Mariani](https://forum.inductiveautomation.com/u/Paolo.Mariani)\
**Post date:** [July 18, 2017, 9:22pm UTC](https://forum.inductiveautomation.com/t/open-same-client-on-multiple-monitors-with-specific-udt-instance-as-a-parameter-to-the-window-if-connected-with-one-button-click/14824/2 "2017-07-18T21:22:41Z")

</div>

Hey Srinivasa!

We actually designed the example on this user manual page to help answer the certification test question.

[http://docs.inductiveautomation.com/display/DOC79/Multi-Monitor+Clients#Multi-MonitorClients-OpeningaMonitoronEachDesktop](http://docs.inductiveautomation.com/display/DOC79/Multi-Monitor+Clients#Multi-MonitorClients-OpeningaMonitoronEachDesktop)

Check it out, and see what you make of it!

Of course the example isn’t the exact script that you need to use, but it is very close. With just a few modifications, you can get it working on your project too.

---

<div class="post-metadata">

**Author:** ![Srinivasa](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@Srinivasa](https://forum.inductiveautomation.com/u/Srinivasa)\
**Post date:** [July 18, 2017, 9:24pm UTC](https://forum.inductiveautomation.com/t/open-same-client-on-multiple-monitors-with-specific-udt-instance-as-a-parameter-to-the-window-if-connected-with-one-button-click/14824/3 "2017-07-18T21:24:50Z")

</div>

Hi Paolo,

I will check it out.

Thank You
