!747 !1000805 // awt !image classes m { !include #1001425 // ShowBigText static S os; static boolean wtf; p { readLocally("os"); new ShowBigText sbt; sbt.title = "OS Sensor"; if (os != null) sbt.showText(os + "!"); while (true) { S theOS = getOS(); if (os != null && !eq(os, theOS)) { for (int i = 0; i < 3; i++) { wtf = true; sbt.showText("WTF!"); sleepSeconds(1); sbt.showText(os + "!"); sleepSeconds(1); sbt.showText(theOS + "!"); sleepSeconds(1); } wtf = false; } if (!eq(os, theOS)) { os = theOS; saveLocally("os"); sbt.showText(os + "!"); } sleepSeconds(5); } } static S getOS() { if (isAndroid()) ret "Android"; if (isMac()) ret "Mac OS"; if (isWindows()) ret "Windows"; ret "Linux"; // Everything else is Linux... Yeah it's generous :) } }