Identify OS
Is there a quick and easy way to identify the OS that a patcher is opened in? [gestalt] seems really clunky and doesn't look like it handles the various flavors of Windows. I'm not looking for something really elaborate, just something that would identify that the user is in say, OSX or OS9 on a Mac, or XP, Vista or W7 on a PC.
Max Patch
Copy patch and select New From Clipboard in Max.
You can use the getsystem message to max to identify the platform. I'm not sure about the OS difference.
Thanks Emmanuel, that gets me started in the right direction.
You could query max.os and max.osversion in javascript.
lh