Forums > MaxMSP

Get type of MS Windows

September 8, 2010 | 5:02 pm

Hi,

I am looking for a way of getting the exact MS Win type (XP, Vista Win7) inside Max. Even the Windows Environment Variables are only telling me ‘Windows NT’.
Can anybody help?

Thanks in advance

Best Regards,
Johannes


September 27, 2010 | 7:20 pm

how about sending [doshack] "ver"?


September 27, 2010 | 10:32 pm

Maybe [gestalt] will be helpful, more so on a macintosh than windows I would imagine though.

lh


September 27, 2010 | 11:16 pm

in js, you can get max.os and max.osversion.

It should be noted that on Windows, the osversion is in hexadecimal.

For example, on my Windows 7 machine, hex 259 is returned, which is 601. Win 7 is Windows version 6, and minor version 1, hence the ’601′.

Here is one explanation of Windows version numbers:

http://www.edbott.com/weblog/2008/10/why-is-it-called-windows-7/

-Ben


Viewing 4 posts - 1 through 4 (of 4 total)