Hello,
I tried to align my rollout to the center of the screen. First of all i tried to get the screen resolution by maxscript:
sysInfo.desktopSizeThe problem is that it shows us the full resolution of all monitors, but i need just the primary screen resolution.
There is a nice DOTnet function for it: "Screen.PrimaryScreen.Bounds.Width" & "Screen.PrimaryScreen.Bounds.Height".
My problem is: How can i use it in maxscript? I tried it on this way:
local screenWidth = dotNetObject "Screen.PrimaryScreen.Bounds.Width" ...but don't works.
By Matyrix · 2011-08-06
Anubis · 2011-08-06