Oh man, it is Christmas all over again. Here is a modification to your script that other writers and wordies might find useful. It pulls an overview of a word from the Wordnet dataset and returns it to the log pane.
w = c.frame.body.wrapper p = w.getSelectedText() message = p.replace('"', "'") command = '/usr/local/WordNet-3.0/bin/wn %s -over' % message c.controlCommands.executeSubprocess( event=None, command=command, ) Now to figure out how to return things to a new node directly. :-) Chris > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.