I am trying to achieve this:
As you suggested even if I remove Height and width from system.gui.openDesktop() function. secondary desktop doesn't open in maximized mode: system.gui.openDesktop(screen=screenIndex, handle=handleName,windows=windowsToOpen)