Question

Can I read/write to tags from scripts?

Answer
Yes, it is possible.
In order to access tags from scripts, such as reading/writing tags, you must AddTag them beforehand.
AddTag tags can be read and written by calling methods such as GetVal and WriteVal.

For more information on reading into tags from scripts, see here, and for more information on writing to tags, see here.
For more details on reading/writing to multiple tags from a script in bulk, see here for a sample.
*)The link is to the description of "FA-Panel", but the contents are common to all products.
*)The relevant scripts in this FAQ are "Browser Script" and "Script Action (SC2)".
Was this answer helpful to you? Yes No