3/20/2025 7:41 AM | |
Joined: 6/26/2008 Last visit: 8/20/2025 Posts: 263 Rating:
|
Hello wen xuan_li49, first of all WinCC and WinCC Professional are using the same Runtime. So the scripts accessing screen-objects are similar. To do this via c-script you can use the funktions "GetPropXXX" and "SetPropXXX", for example:
Instead of "myScreen" you can write “lpszPictureName”, if you are inside the same screen. This is in WinCC Professional the same as in WinCC. Here are the Links to the online documentation of these functions: SetProp / GetProp But, it is also possible with VBS. You can address an object absolute, like this:
Or you can address an object relativly, p.e. if you have a script on a button on the same screen:
Here is the link to "ScreenItem"-object underneath the VBS object model: ScreenItem Just have a look, I guess there might be other entries also interessting. But you have to be careful: The entry should be signed with "RT Professional", because not all entries are for Professional. I hope this helps! Greetings,
|
Last edited by: BBritten at: 03/20/2025 07:43:36Formating issues |
|
Follow us on