10/20/2013 11:55 AM | |
Joined: 10/3/2010 Last visit: 5/17/2024 Posts: 1552 Rating: (188) |
Dear Tornes, If you have your global script ready, why don't you just store the name of the actual opened picture in an internal tag? You just have to add a picture open event which save the name in that tag. At the start of your global script, you compare the content of the internal tag with the screenname that you want to run it for. If not the same, you exit the global script, else you do your things. |
B r g d s , |
|
This contribution was helpful to1 thankful Users |
10/20/2013 8:13 PM | |
Joined: 10/3/2010 Last visit: 5/17/2024 Posts: 1552 Rating: (188) |
Note sure in C, but in vbscript, you have something like HMIRuntime.ActiveScreen.ObjectName. I had some older projects where each screen had a "picture open"-event, in which script wrote picturename into internal tag. In C-script, I think lpzPictureName is possible loads of scripts. Just try to create your c-script in the picture open event and check. |
B r g d s , |
|
This contribution was helpful to1 thankful Users |
Follow us on