How to access an object's property by script?
Posted: Thu Jun 27, 2013 2:08 am
Hi everybody!
I'm looking for a way to change the property of an object (for example: switch the TrendViewer History On/Off) by script.
The goal is, that when a tag changes (e.g. ProductionStatus = stop), the TrendViewer stops showing the actual trend (History ON). When the production starts running again, the TrendViewer should stop showing the history and should switch back into normal operation (History OFF).
Now: is there in general a way to access objects (buttons/pictures/trendviewers/...) by script?
I really apreciate every help!
Best regards
Chris
I'm looking for a way to change the property of an object (for example: switch the TrendViewer History On/Off) by script.
The goal is, that when a tag changes (e.g. ProductionStatus = stop), the TrendViewer stops showing the actual trend (History ON). When the production starts running again, the TrendViewer should stop showing the history and should switch back into normal operation (History OFF).
Now: is there in general a way to access objects (buttons/pictures/trendviewers/...) by script?
I really apreciate every help!
Best regards
Chris