Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

widget.system returns "does not allow calls" in console



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


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.