DLMUK
Member
Hi,
I have never written a bit of VB script before, what I want to do is toggle a value (bool or int) on a Siemens TP HMI button.
I have found the following
https://support.industry.siemens.co...g-vbs-(visual-basic-scripting)?dti=0&lc=en-WW
But when I try and copy the examples I get error messages saying "Tags: is not declared" is undefined on example one.
and
On the second:
"A VB_Script or HMI_Tag object named ScreenItems was not found"
Can anyone point me in the right direction?
Cheers,
I have never written a bit of VB script before, what I want to do is toggle a value (bool or int) on a Siemens TP HMI button.
I have found the following
https://support.industry.siemens.co...g-vbs-(visual-basic-scripting)?dti=0&lc=en-WW
But when I try and copy the examples I get error messages saying "Tags: is not declared" is undefined on example one.
and
On the second:
"A VB_Script or HMI_Tag object named ScreenItems was not found"
Can anyone point me in the right direction?
Cheers,