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?
Any help greatly appreciated. Thanks,
Chris
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/dashboard-dev/email@hidden
This email sent to email@hidden