# Simple question

**URL:** <https://forum.inductiveautomation.com/t/simple-question/5061>\
**Category:** General Discussion\
**Created:** [August 27, 2012, 5:54pm UTC](https://forum.inductiveautomation.com/t/simple-question/5061 "2012-08-27T17:54:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikehill100](https://avatars.discourse-cdn.com/v4/letter/m/bcef8e/32.png) [@mikehill100](https://forum.inductiveautomation.com/u/mikehill100)\
**Post date:** [August 27, 2012, 5:54pm UTC](https://forum.inductiveautomation.com/t/simple-question/5061/1 "2012-08-27T17:54:50Z")

</div>

What is the event script to write to a property on another window? I cannot find how to do this.

---

<div class="post-metadata">

**Author:** ![Robert.McKenzie](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robert.mckenzie/32/4134_2.png) [@Robert.McKenzie](https://forum.inductiveautomation.com/u/Robert.McKenzie)\
**Post date:** [August 27, 2012, 6:02pm UTC](https://forum.inductiveautomation.com/t/simple-question/5061/2 "2012-08-27T18:02:05Z")

</div>

Generally you don’t want to write to another window directly because it might not be open. I recommend using a client tag on both screens. It’s easier and much easier to figure out in a couple months when you’ve forgotten how these screens work. Just bind/write to it on both screens.

If you really need to write to another window, you have to get the window handle with system.gui.getWindow(“WinName”).getRootContainer()… to find a property on the screen.
