Kkula
Browse Questions » WinCC Unified Systems: How Towards Terminate the opened Display window Automation System well?

About User

Questions Asked: 20.9K

Answers Given: 32

0
  • Open

WinCC Unified Systems: How Towards Terminate the opened Display window Automation System well?

Stefan Arcularius
Hi s27,
FAQ "WinCC Unified PC Runtime: Control pop-up windows via script (JavaScript examples)"
shows how to prevent a popup window from being opened multiple times. With some small changes, this solution should fit your needs as well.
Kind regards
Stefan
 Yes, this solved my problem. Thanks

I have a new problem. I use it on screen and screenwindow at the same time. I want the opened screenwindow to close as well.
------------------------------------------------------------------------------------------
Split from
Unified hmi faceplate
.

0 Likes 0 Favourites 0 Followers 0 Comments
Answers(1)

Okay, you've successfully prevented multiple popups, but now need to close the associated Screenwindow when a screen is closed. Refer to the linked FAQ ("WinCC Unified PC Runtime: Control pop-up windows via script (JavaScript examples)") and adapt the script to include Screenwindow closing logic upon screen closure.

0