# Max Window size in different monitors

**URL:** <https://forum.inductiveautomation.com/t/max-window-size-in-different-monitors/32030>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [February 7, 2020, 4:59am UTC](https://forum.inductiveautomation.com/t/max-window-size-in-different-monitors/32030 "2020-02-07T04:59:47Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![witman](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@witman](https://forum.inductiveautomation.com/u/witman)\
**Post date:** [February 7, 2020, 6:19am UTC](https://forum.inductiveautomation.com/t/max-window-size-in-different-monitors/32030/2 "2020-02-07T06:19:26Z")

</div>

You can get all your screen sizes with code like @Carl.Gould suggests in the [other thread you posted in](http://forum.inductiveautomation.com/t/determining-window-size/2525):

```python
from java.awt import GraphicsEnvironment

env = GraphicsEnvironment.getLocalGraphicsEnvironment()
for i, screen in enumerate(env.getScreenDevices()):
	size = screen.getDefaultConfiguration().bounds
	print "Screen %i is %dx%d" % (i, size.width, size.height)

```

Output when tested in script console with a couple monitors:

```nohighlight
>>> 
Screen 0 is 1366x768
Screen 1 is 1920x1080
>>> 

```

---

_[View the full topic](https://forum.inductiveautomation.com/t/max-window-size-in-different-monitors/32030)._
