System Tools

Topic: version 4 MAXScript New Features/System Tools

A new global struct called "systemTools" has been added to MAXScript.

This group of functions lets you gather various pieces of information about the system that you are using.

systemTools.NumberOfProcessors()

Returns the number of processors

systemTools.GetScreenWidth()

Returns the screen width including multiple monitors.

systemTools.GetScreenHeight()

Returns the screen height including multiple monitors.

systemTools.IsWindows98or2000()

Returns true if the OS is Windows98 or Win2000

systemTools.IsWindows9x()

Returns true if the OS is a Win9x flavor

systemTools.IsDebugging()

Returns true if running in a debugger

See also