10/25/2024 10:49 AM | |
Posts: 21 Rating:
|
Hey, try UI.FindItem instead. With Screen.FindItem you are searching the Screen where youre script is at. Best regards, Timm |
10/25/2024 11:30 AM | |
Joined: 2/27/2024 Last visit: 2/13/2025 Posts: 14 Rating:
|
With that I get error - Script function "function": Object member: UI not supported in current scope in line 3.. |
10/25/2024 11:33 AM | |
Posts: 21 Rating:
|
Put const ui = HMIRuntime.UI; above and use ui instead of UI |
Last edited by: Timm H. at: 10/25/2024 11:34:44 |
|
10/25/2024 12:03 PM | |
Joined: 2/27/2024 Last visit: 2/13/2025 Posts: 14 Rating:
|
I will keep getting the same error, don't think you're allowed to use UI in global script maybe? |
10/25/2024 2:06 PM | |
Joined: 2/27/2024 Last visit: 2/13/2025 Posts: 14 Rating:
|
Thank You!!!! That really did work! |
Follow us on