I have a alarm banner A display that shows on the botton of the screen and that must shown along with any of two specific main centered displays, whenever they are open.
If one of these two main displays are closed to show other main display than these two, it must show alarm banner B.
Command to show this other alarm banner B must be generated by closing one of the two specific main displays (because there are many ways to go to other display screen).
What I have tried:
Using startup and shutdown commands at the display properties of the two main screens. This would call banner A at startup and banner B at shutdown. Problem is that when I change between the specific two main screens, the shutdown command from the closing one is always generated after the startup command of the opening display. This would show banner B incorrectly, along with any specific main display. If I use command pause at the startup command, it will work after the shutdown command, but it will show banner B quickly before banner A, which is not desired, since calling banner B, calls a lot of alarm VBA popups.
What I want, is when I change between these two, it wont call banner B.
How can I do it?
Maybe a VBA logic that uses active main display as condition should work, but I have little experience using VBA.
Forgive my English. I hope you understood.
Thank you for your help!!
If one of these two main displays are closed to show other main display than these two, it must show alarm banner B.
Command to show this other alarm banner B must be generated by closing one of the two specific main displays (because there are many ways to go to other display screen).
What I have tried:
Using startup and shutdown commands at the display properties of the two main screens. This would call banner A at startup and banner B at shutdown. Problem is that when I change between the specific two main screens, the shutdown command from the closing one is always generated after the startup command of the opening display. This would show banner B incorrectly, along with any specific main display. If I use command pause at the startup command, it will work after the shutdown command, but it will show banner B quickly before banner A, which is not desired, since calling banner B, calls a lot of alarm VBA popups.
What I want, is when I change between these two, it wont call banner B.
How can I do it?
Maybe a VBA logic that uses active main display as condition should work, but I have little experience using VBA.
Forgive my English. I hope you understood.
Thank you for your help!!