Get Perspective Screen Size From Session Info?

v8.1.24
Is it possible to get the screen width and height for a specific session from after calling system.perspective.getSessionInfo() ? Is there another way to do it?

The use case is to open a small popup in the bottom right corner on every session...kind of like how apps like Slack, Outlook, and others give you nudge notification. If the position is very low and the screen is low resolution it won't be seen, its there but off screen.

Thanks,
Ted.

I have done this using a Page property that you can find if you click the Browse Properties box from a property binding:
page.props.dimensions.primaryView.width

Edit: sorry just noticed you need the dimensions for a specific session. My suggestion only works for the current session

1 Like