# Access a Window reference from Gateway Script

**URL:** <https://forum.inductiveautomation.com/t/access-a-window-reference-from-gateway-script/24359>\
**Category:** Ignition\
**Tags:** scripting, ignition79\
**Created:** [April 24, 2019, 2:05pm UTC](https://forum.inductiveautomation.com/t/access-a-window-reference-from-gateway-script/24359 "2019-04-24T14:05:54Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Stevenson.Yuan](https://avatars.discourse-cdn.com/v4/letter/s/ac91a4/32.png) [@Stevenson.Yuan](https://forum.inductiveautomation.com/u/Stevenson.Yuan)\
**Post date:** [April 25, 2019, 4:01pm UTC](https://forum.inductiveautomation.com/t/access-a-window-reference-from-gateway-script/24359/3 "2019-04-25T16:01:35Z")

</div>

Alternatively you can use the message handlers from the gateway scope sending a message to all the clients perhaps check if a window is open then performing a refresh on the component’s data.

---

_[View the full topic](https://forum.inductiveautomation.com/t/access-a-window-reference-from-gateway-script/24359)._
