Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Programmer Help > Re: Dashcode Qu...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 3774 of 3882
Post > Topic >>

Re: Dashcode Question

by Ben Artin <macdev@[EMAIL PROTECTED] > Jun 18, 2008 at 09:03 PM

In article
<dd289a53-0642-499c-a6e9-5449ef600b0d@[EMAIL PROTECTED]
>,
 s.anderson.au@[EMAIL PROTECTED]
 wrote:

> Why does Dashcode re****t the error "Value undefined (result of
> expression widget.system) is not an object" when it comes across the
> line below?
> 
> var output = widget.system("/usr/bin/which ls", null).outputString;

You probably forgot to set AllowSystem in your Info.plist. See the note at
the 
bottom of 
<http://developer.apple.com/do***entation/AppleApplications/Reference/Dashboard_R
ef/GadgetObj/chapter_2_section_3.html>

-- 
If this message helped you, consider buying an item
from my wish list: <http://artins.org/ben/wishlist>
 




 2 Posts in Topic:
Dashcode Question
s.anderson.au@[EMAIL PROT  2008-06-18 08:08:03 
Re: Dashcode Question
Ben Artin <macdev@[EMA  2008-06-18 21:03:56 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 10:28:38 CST 2008.