# Drag Popup Outside of Project

**URL:** <https://forum.inductiveautomation.com/t/drag-popup-outside-of-project/80303>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [October 10, 2023, 7:55pm UTC](https://forum.inductiveautomation.com/t/drag-popup-outside-of-project/80303 "2023-10-10T19:55:09Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [March 1, 2024, 8:52pm UTC](https://forum.inductiveautomation.com/t/drag-popup-outside-of-project/80303/10 "2024-03-01T20:52:04Z")

</div>

Thanks. Adjusting the script from [this](https://forum.inductiveautomation.com/t/system-gui-opendesktop-fails-occasionally/73647/4) unfinished post, I have

```auto
openDesktops = len(system.gui.getDesktopHandles())
monitorData = Navigation.getScreens()
if openDesktops == 0 and len(monitorData) > 1:
	for desktopIndex, desktopWidth, desktopHeight, desktopX, desktopY in monitorData[1:]:
		handleName = "Desktop %d" %desktopIndex
		system.gui.openDesktop(screen=desktopIndex, handle=handleName, width=desktopWidth, height=desktopHeight, x=desktopX, y=desktopY).setAlwaysOnTop(False)
		#system.nav.desktop(handleName).swapTo('whatever/window/path')

```

Desktop 1 still opens on monitor 0 and desktop 2 is now not on any of the monitors.

---

_[View the full topic](https://forum.inductiveautomation.com/t/drag-popup-outside-of-project/80303)._
