# Change Vision client window form another client?

**URL:** <https://forum.inductiveautomation.com/t/change-vision-client-window-form-another-client/66986>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [November 28, 2022, 4:37pm UTC](https://forum.inductiveautomation.com/t/change-vision-client-window-form-another-client/66986 "2022-11-28T16:37:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jason\_kensett](https://avatars.discourse-cdn.com/v4/letter/j/ad7895/32.png) [@jason\_kensett](https://forum.inductiveautomation.com/u/jason_kensett)\
**Post date:** [November 28, 2022, 4:37pm UTC](https://forum.inductiveautomation.com/t/change-vision-client-window-form-another-client/66986/1 "2022-11-28T16:37:41Z")

</div>

I am looking for some guidance on changing the window of one vision client from another. All my clients auto log and are restricted. I would like to be able to log into vision and then change the window of a display client that has no keyboard, or anything attached.

---

<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:** [November 28, 2022, 4:39pm UTC](https://forum.inductiveautomation.com/t/change-vision-client-window-form-another-client/66986/2 "2022-11-28T16:39:56Z")

</div>

Create a Vision Client Message handler. Send that client a message.

---

<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:** [November 28, 2022, 4:40pm UTC](https://forum.inductiveautomation.com/t/change-vision-client-window-form-another-client/66986/3 "2022-11-28T16:40:33Z")

</div>

Make a 'management' page that has scripting to invoke [`system.util.sendMessage`](https://docs.inductiveautomation.com/display/DOC81/system.util.sendMessage).

In your client project, have a [message handler](https://docs.inductiveautomation.com/display/DOC81/Client+Event+Scripts#ClientEventScripts-MessageScripts) that invokes a window swap/whatever other operation in response to the message payload.

---

<div class="post-metadata">

**Author:** ![jason\_kensett](https://avatars.discourse-cdn.com/v4/letter/j/ad7895/32.png) [@jason\_kensett](https://forum.inductiveautomation.com/u/jason_kensett)\
**Post date:** [November 28, 2022, 4:40pm UTC](https://forum.inductiveautomation.com/t/change-vision-client-window-form-another-client/66986/4 "2022-11-28T16:40:54Z")

</div>

Thas it? Just send the script to swap the windows?

---

<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:** [November 28, 2022, 4:41pm UTC](https://forum.inductiveautomation.com/t/change-vision-client-window-form-another-client/66986/5 "2022-11-28T16:41:56Z")

</div>

No, the script is in or is called from the message handler, which is part of the project. The caller can supply a payload (data), for an infinite variety of responses.

---

<div class="post-metadata">

**Author:** ![jason\_kensett](https://avatars.discourse-cdn.com/v4/letter/j/ad7895/32.png) [@jason\_kensett](https://forum.inductiveautomation.com/u/jason_kensett)\
**Post date:** [November 28, 2022, 4:44pm UTC](https://forum.inductiveautomation.com/t/change-vision-client-window-form-another-client/66986/6 "2022-11-28T16:44:58Z")

</div>

OK, well thanks guys. Easy enough. I would have never thought of that. I was way over thinking that assuming it was going to be a bunch of client tags.
