get screen size / resolution for rollout placement

Hey Guys,

I want to position a rollout in the lower left corner of the 3ds Max Interface, right above the timeline. I tested that on a screen resolution of 1280x800 pixels the coordinates are in my case [0,638]. My question: Is there any way to get the Screen resolution/size so i can position my rollout no matter what resolution is used on the computer? I yet have only managed to get the size of the viewports, but not the screen itself.

Regards,
br0t

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
br0t's picture

Great, thank you Anubis!

Great, thank you Anubis!

Never get low & slow & out of ideas

Anubis's picture

sysInfo.desktopSize

sysInfo.desktopSize

my recent MAXScripts RSS (archive here)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.