I ran into the same thing with one of my widgets, using a widget.system call to osascript.
The answer in my case was to compile an Objective-C class that called NSAppleScript.
So in your case you may want to examine creating an Objective-C plugin that uses the Java bridge to obtain its data.
I'm running into the exact same issue. Too many lines to stdout and the widget crashes :(
-MH
On May 9, 2005, at 8:00 AM, Todd Carver wrote:
I have output coming from stdout which is generated by a Java class. When I run the class in Terminal the output comes back fast and looks correct everytime. However, it seems that once the output goes past a certain size the widget will no longer display it (using element.innerHTML = output) but instead just hang and basically crash. Is there a size limit on the _javascript_ var that receives the outputString or something? Thanks in advance.
Todd
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Help/Unsubscribe/Update your Subscription:
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Help/Unsubscribe/Update your Subscription: