Under 'Extras/tool configuration' add a new tool with this commandline:
C:Programmenewlispnewlisp.exe -e "%sel%"
Make a button for that tool.
Then mark some lisp code and press the new button.
It is executed in newlisp and the return value is recorded in Ultraedit
in a configurable place.
Nice and simple.