ScriptSpot

Forum topic · General Scripting

get screen size / resolution for rollout placement

By br0t · 2010-09-29

Description

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 (2)

br0t · 2010-09-29

Great, thank you Anubis!

Anubis · 2010-09-29

sysInfo.desktopSize