This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
ScriptContext has a setWriter method with which you can send script output anywhere you like (e.g. a StringWriter which you can then use to display the output in the GUI).
Joined: Jan 25, 2006
Hi Ulf thank you for the reply however I dont seem to be getting the desired results.
This is the code I have for evaluating the script file:
However when i inspect the writer afterwards it is empty, while an output is still being shown in the console. Any ideas y that is?
p.s ignore spelling mistakes in code just done to avoid problems adding to post due to filter [ March 24, 2008: Message edited by: John Bartlett ]