Hard to say without seeing the code, but it looks like you are
throwing an exception before you get to the widget.system call.
The "Object (result of expression connectToServer) does not allow
calls. (line: 1)" console message is an js exception being fired.
Thanks,
jl
On May 23, 2005, at 1:47 AM, Clayton Ferris wrote:
I am trying to run a very simple terminal command in my widget. I
have AllowSystem set to yes in my info.plist. I have widget.system
tied to an onclick event, and watching the console these are properly
tied together, however nothing happens. The console reports "Object
(result of expression connectToServer) does not allow calls. (line:
1)". My widget.system looks like this: widget.system("/bin/sh
/Applications/Wolfenstein\ ET/Wolfenstein\
ET.app/Contents/MacOS/Wolfenstein\ ET +connect 128.242.54.116",
null); the result of typing "/Applications/Wolfenstein\
ET/Wolfenstein\ ET.app/Contents/MacOS/Wolfenstein\ ET +connect
128.242.54.116" in terminal launches the program and autoconnects to
the ip adress listed. Any ideas on what I am overlooking?
-Clayton Ferris
_______________________________________________
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