# PLC Tag that selects Ignition Window

**URL:** <https://forum.inductiveautomation.com/t/plc-tag-that-selects-ignition-window/76369>\
**Category:** Ignition\
**Tags:** scripting, vision, ignition81\
**Created:** [July 14, 2023, 10:49am UTC](https://forum.inductiveautomation.com/t/plc-tag-that-selects-ignition-window/76369 "2023-07-14T10:49:59Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [July 14, 2023, 2:05pm UTC](https://forum.inductiveautomation.com/t/plc-tag-that-selects-ignition-window/76369/5 "2023-07-14T14:05:32Z")

</div>

Not really "no go", but a "do you really need this?"

If you must, within the client tag change script, include a check for the specific client's MAC ID, or something else unique, and only perform the navigation if it matches. That'll keep your designer from firing on it while in preview mode.

You can perform that MAC ID check once in a client startup event and save the result to a client tag (if you have other things that should be limited to that one client). See this topic for a method:

> [@Mobile Client MAC Address](https://forum.inductiveautomation.com/t/mobile-client-mac-address/23037/10):
>
> In a real Vision client, you can obtain the local MAC addresses with the following script: from java.net import NetworkInterface # Get list of local mac address as strings def myMacIds(): macs = [ni.hardwareAddress for ni in NetworkInterface.getNetworkInterfaces() if ni.hardwareAddress] return [":".join(["%02x" % (b & 0xff) for b in mac]) for mac in macs] Also, again in a real Vision client, you can obtain the outbound network interface and the corresponding local IP address the clien…

---

_[View the full topic](https://forum.inductiveautomation.com/t/plc-tag-that-selects-ignition-window/76369)._
