NewsWorksSoftwareTextBioContact
background image

Javascript determining OS and more

May 6, 2005

Javascript for determining what OS is used what version of Max etc. Save as jmod.js_systeminfo.js.

Js_systeminfo

/*
script for determining what OS is used
*/
inlets = 1
outlets = 1
function bang()
{
outlet(0 “os” this.max.os)
outlet(0 “os_version” this.max.osversion)
outlet(0 “max_version” this.max.version)
outlet(0 “plugin” this.max.isplugin)
outlet(0 “runtime” this.max.isruntime)
}