In the latest DOpus I read in the release notes that // !JSCRIPTVER=3 has been added to enable newer script features on Windows 11. I'm on Microsoft Windows 11 Pro 10.0.22631 N/A Build 22631 and was hoping this bit of script would work, but it throws an error. Am I misunderstanding something here? Thank you.
// !JSCRIPTVER=3
function OnInit(initData)
{
initData.name = "wibble";
initData.version = "1.0";
initData.copyright = "(c) 2025 wildw";
initData.desc = "wibble";
initData.default_enable = true;
initData.min_version = "13.0";
var mystring = " Wibble ";
DOpus.Output(mystring.trim());
}
wibble.js: Error at line 11, position 2
wibble.js: Object doesn't support this property or method (0x800a01b6)