# How to find current vision screen index

**URL:** <https://forum.inductiveautomation.com/t/how-to-find-current-vision-screen-index/20043>\
**Category:** Ignition\
**Created:** [October 9, 2018, 2:28pm UTC](https://forum.inductiveautomation.com/t/how-to-find-current-vision-screen-index/20043 "2018-10-09T14:28:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [October 9, 2018, 2:28pm UTC](https://forum.inductiveautomation.com/t/how-to-find-current-vision-screen-index/20043/1 "2018-10-09T14:28:55Z")

</div>

Ignition 7.9.9  
How to find current vision screen index ?

Depending projet launcher or propertie, a cvision client is launched on screen 0 or 1  
(2 monitor)  
I’d like find the current desktop screen index to move it to another screen with  
system.gui.setScreenIndex()

---

<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:** [October 9, 2018, 3:27pm UTC](https://forum.inductiveautomation.com/t/how-to-find-current-vision-screen-index/20043/2 "2018-10-09T15:27:43Z")

</div>

Apparently, it’s pretty hard to do this in a reliable way:

> <https://stackoverflow.com/questions/2234476/how-to-detect-the-current-display-with-java>

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [October 9, 2018, 4:05pm UTC](https://forum.inductiveautomation.com/t/how-to-find-current-vision-screen-index/20043/3 "2018-10-09T16:05:50Z")

</div>

Kyle Chase had something in this thread. I re uploaded the window because of dead links. 🙂 :

> [@Moving fullscreen projects between multiple monitors](http://forum.inductiveautomation.com/t/moving-fullscreen-projects-between-multiple-monitors/2582/7):
>
> Dead links above. Here is an exported window: [Move To Screen.proj](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/6a99e27d374fd6cb5454d3edc3a0e9dd51e4dc56.proj) (16.1 KB)
