# Wanting to use the same Multi Trend Desktop view

**URL:** <https://forum.inductiveautomation.com/t/wanting-to-use-the-same-multi-trend-desktop-view/56903>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [March 7, 2022, 1:57pm UTC](https://forum.inductiveautomation.com/t/wanting-to-use-the-same-multi-trend-desktop-view/56903 "2022-03-07T13:57:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jose\_Diaz](https://avatars.discourse-cdn.com/v4/letter/j/d9b06d/32.png) [@Jose\_Diaz](https://forum.inductiveautomation.com/u/Jose_Diaz)\
**Post date:** [March 7, 2022, 1:57pm UTC](https://forum.inductiveautomation.com/t/wanting-to-use-the-same-multi-trend-desktop-view/56903/1 "2022-03-07T13:57:35Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/8/d85550374144aaa32fd66fae661779beca8f599b.png)

Hello all!

I wanted to know how I could fix this error. Currently, this desktop window called “Multi Trend” is a window that I used to help with Multi-Monitored Clients and it opens two different ways: First, is after a right-click selection is made and Secondly, when a button is clicked. How can I use the same desktop window “Multi Trend” to open up the same stuff? I just wanted the desktop window to open in two separate ways but I am getting this error. Do I only need to call system.gui.openDesktop(windows = [’\_\_\_\_\_\_\_\_’], title = “Multi Trend”, handle = “Multi Trend”) once on one of those two separate ways of opening the desktop window?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 7, 2022, 3:36pm UTC](https://forum.inductiveautomation.com/t/wanting-to-use-the-same-multi-trend-desktop-view/56903/2 "2022-03-07T15:36:55Z")

</div>

Use `system.gui.getDesktopHandles` in both scripts to check if the secondary desktop is already open before you attempt to open it again:  
[https://docs.inductiveautomation.com/display/DOC81/system.gui.getDesktopHandles](https://docs.inductiveautomation.com/display/DOC81/system.gui.getDesktopHandles)
