Numeric text field when change set a tag

Hello i have a question can you maybe help me for write a script!

Can you write the script that do when i finish to write a number in a numeric text field
set to one another tag?

:prayer:

Thank you sorry for my bad english

Put this on the propertyChange event of the numeric text field.

if event.propertyName == "value": system.tag.write("MyIntTag",event.newValue)

Thank you jpark…

But this will put me on 1 the tag that i want?

I repeat this is my problem…

When a number in a numeric text field change or manually (by me) or automatically (by plc)

i want that set to = 1 another tag that i have…

The scripts that you write do this? Thank you so much for your time :slight_smile:

Thanks for more info. You need to use a Tag Change Event. The code is almost the same:

system.tag.write("AnotherTag", 1)

Thank you adamaustin i will try it tomorrow in office

Thank you so much :slight_smile: