Hello,
Is there anyone who could help me with this problem?
I simply cannot get widget.system to work in it's
simplest form. I have the following javascript:
document.getElementById("out").value = "hello";
document.getElementById("out").value =
widget.system("/usr/bin/id -un", null).outputString;
//document.getElementById("out").value = "world";
...and the following in info.plist:
<key>AllowSystem</key>
<true/>
"hello" is displayed in the text field just fine, but
the 2nd line doesn't work. If the 3rd line is
uncommented, it "world" is NOT displayed indicating
that the script is crashing on the 2nd line. What am
I missing here?