Open message box on different window

#1

I’m working on a project with 2 monitors, 2nd monitor is being controlled through system.gui.openDesktop.

Is there a way to open message box on 2nd screen, as it always opens on 1st.

Thank you.

0 Likes

#2

Hey Kunal,

Yes, you can use the following code to specify which monitor to open a window on as described here: https://docs.inductiveautomation.com/display/DOC80/system.gui.openDesktop

system.gui.openDesktop(screen=0, windows=["Overview"])

The screen value is the computer monitor number you want to display the window on.

Anthony

0 Likes