I’m looking to get the full size of the client window (i.e. the desktop size), not just the individual windows that make up the client display.
E.g. I want to get the combined size of all docked window(s) and the floating windows.
I’m not sure how to get an object reference to the desktop to do this… from what I can tell, if I can get a reference to the VisionDesktop object, then I can use the getSize method to get its size.
Thanks Paul. Next challenge: what if I don’t have any windows open at the time? E.g. on client startup, with no windows set to launch on startup? I want to be able to launch a different header dock window based on if the client is on a PC (high res) or an HMI (low res, typically 1366x768). This would be in the Client startup script