Forums > MaxMSP

Get type of MS Windows

September 8, 2010 | 5:02 pm


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,

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.


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:


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

Forums > MaxMSP