# Text Alignment & Animation for integer value on button

**URL:** <https://forum.inductiveautomation.com/t/text-alignment-animation-for-integer-value-on-button/31755>\
**Category:** Ignition\
**Created:** [January 30, 2020, 11:46am UTC](https://forum.inductiveautomation.com/t/text-alignment-animation-for-integer-value-on-button/31755 "2020-01-30T11:46:15Z")\
**Posts on this page:** 1\
**Showing post:** 12

<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:** [February 18, 2020, 11:33am UTC](https://forum.inductiveautomation.com/t/text-alignment-animation-for-integer-value-on-button/31755/12 "2020-02-18T11:33:06Z")

</div>

1. Try the scripts in this post (for Vision, not Perspective):

> [@Mobile Client MAC Address](http://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…

Probably want to save the results of your location decisions in a client tag to make it available to all windows in your project.

1. Go study all of the posts I linked, and maybe the links within those posts. This is not a problem specific to you, or to Ignition. There are a number of solutions that don't use the bit reset pattern (though PLC code is required for all solutions) in those linked posts. Pick one.

---

_[View the full topic](https://forum.inductiveautomation.com/t/text-alignment-animation-for-integer-value-on-button/31755)._
