Have you actually been able to make this work? I've tried it a few
different ways/times, and always get a crash.
I've modified the "JibbaJabba" (SimplePlugin) example I got from dts
to show
how I think it should work...can you (or someone) take a look and
tell me
what mistake I'm making?
var things = MyWidgetPlugin.someThings();
if (things) {
var thingCount = things.length;
for (var thingIndex = 0; thingIndex < thingCount; ++
thingIndex) {
var aThing = things[ thingIndex];
}
Does that help? Your plugin class just has an instance method like:
- (NSArray *)someThings;
-Tom
On May 10, 2005, at 1:19 PM, Stefan Hanshans wrote:
Is it possible to obtain an array (NSArray) from a widget plugin
in JavaScript?
TIA
Stefan
_______________________________________________
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