# Window event handler - visionWindowWhileOpen

**URL:** <https://forum.inductiveautomation.com/t/window-event-handler-visionwindowwhileopen/6714>\
**Category:** Ignition\
**Created:** [June 14, 2013, 3:36pm UTC](https://forum.inductiveautomation.com/t/window-event-handler-visionwindowwhileopen/6714 "2013-06-14T15:36:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![justice5555](https://avatars.discourse-cdn.com/v4/letter/j/258eb7/32.png) [@justice5555](https://forum.inductiveautomation.com/u/justice5555)\
**Post date:** [June 14, 2013, 3:36pm UTC](https://forum.inductiveautomation.com/t/window-event-handler-visionwindowwhileopen/6714/1 "2013-06-14T15:36:15Z")

</div>

visionWindowOpened and visionWindowClosed are currently available. An event handler that runs while the window is open on a timer, e.g., visionWindowWhileOpen, will be useful.

---

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [June 15, 2013, 12:02am UTC](https://forum.inductiveautomation.com/t/window-event-handler-visionwindowwhileopen/6714/2 "2013-06-15T00:02:16Z")

</div>

couldnt you do this with a timer component?

---

<div class="post-metadata">

**Author:** ![justice5555](https://avatars.discourse-cdn.com/v4/letter/j/258eb7/32.png) [@justice5555](https://forum.inductiveautomation.com/u/justice5555)\
**Post date:** [June 28, 2013, 4:06pm UTC](https://forum.inductiveautomation.com/t/window-event-handler-visionwindowwhileopen/6714/3 "2013-06-28T16:06:49Z")

</div>

Yes. Thanks.
