# Vision static windowed mode

**URL:** <https://forum.inductiveautomation.com/t/vision-static-windowed-mode/88369>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [April 4, 2024, 6:46pm UTC](https://forum.inductiveautomation.com/t/vision-static-windowed-mode/88369 "2024-04-04T18:46:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mathias\_Melling](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mathias_melling/32/67682_2.png) [@Mathias\_Melling](https://forum.inductiveautomation.com/u/Mathias_Melling)\
**Post date:** [April 4, 2024, 6:46pm UTC](https://forum.inductiveautomation.com/t/vision-static-windowed-mode/88369/1 "2024-04-04T18:46:34Z")

</div>

Is it possible to launch vision in windowed mode without allowing the user to move the window?

We launch our HMI with 2 programs at the same time. Part of the monitor is assigned to one program and the other part needs to be assigned to Vision, preferably without overlapping the two.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 4, 2024, 6:48pm UTC](https://forum.inductiveautomation.com/t/vision-static-windowed-mode/88369/2 "2024-04-04T18:48:24Z")

</div>

No, that would require an external, custom desktop. Tiling window managers for Linux likely could do this.

---

<div class="post-metadata">

**Author:** ![Mathias\_Melling](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mathias_melling/32/67682_2.png) [@Mathias\_Melling](https://forum.inductiveautomation.com/u/Mathias_Melling)\
**Post date:** [April 4, 2024, 6:56pm UTC](https://forum.inductiveautomation.com/t/vision-static-windowed-mode/88369/3 "2024-04-04T18:56:42Z")

</div>

Thanks for the quick response. We're using Windows, if anyone has a solution for Windows, that would be great.

---

<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:** [April 4, 2024, 7:03pm UTC](https://forum.inductiveautomation.com/t/vision-static-windowed-mode/88369/4 "2024-04-04T19:03:46Z")

</div>

Something something AutoHotKey? Would rely on AHK being installed and running (or being launched by the Vision client) on each client computer.

---

<div class="post-metadata">

**Author:** ![Mathias\_Melling](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mathias_melling/32/67682_2.png) [@Mathias\_Melling](https://forum.inductiveautomation.com/u/Mathias_Melling)\
**Post date:** [April 4, 2024, 8:46pm UTC](https://forum.inductiveautomation.com/t/vision-static-windowed-mode/88369/5 "2024-04-04T20:46:07Z")

</div>

It is indeed doable from AHK. Thanks for that idea.  
I run ignition in full screen mode and then execute this AHK script:

```auto
WinSetRegion "0-0 3840-0 3840-162 3180-162 3180-2000 0-2000", "ahk_class SunAwtFrame"

```

That causes the window to show up like this:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/b/8be97ebd6eb79b0248bacf03b181d6cecc49e5e5.jpeg)

---

<div class="post-metadata">

**Author:** ![Brianw\_Wolowich](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brianw_wolowich/32/32743_2.png) [@Brianw\_Wolowich](https://forum.inductiveautomation.com/u/Brianw_Wolowich)\
**Post date:** [April 5, 2024, 4:06pm UTC](https://forum.inductiveautomation.com/t/vision-static-windowed-mode/88369/6 "2024-04-05T16:06:54Z")

</div>

> [@Mathias\_Melling](#):
>
> eed doable from AHK. Thanks for that idea.  
> I run ignition in f

I found another way to do this within Ignition itself.  
In the client startup script add.

```python
from java.awt.Window import getWindows
from java.awt.geom import GeneralPath

window1 = getWindows()
window2 = window1[0]

ourShape = GeneralPath()
ourShape.moveTo(0,0)
ourShape.lineTo(1920,0)
ourShape.lineTo(1920,81)
ourShape.lineTo(1590,81)
ourShape.lineTo(1590,1063)
ourShape.lineTo(0,1063)
ourShape.closePath()
window2.setShape(ourShape)

```
