Hi, I found in documentation for scripts with Java and BeanShell that the environment uses a context variable, but using scripts BeanShell I had to use a variable XSCRIPTCONTEXT and I had to import com.sun.star.script.framework.XScriptContext and not drafts.com.sun.star.script.framework.XScriptContext in the file unoil.jar if I'm not mistaken.
I'm using OpenOffice version 2. Danilo Queiroz Analista Programador 5018-5155 ramal 5130
