[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] MCF files, BBEdit extensions



Chris Nandor wrote:

>One question: is there a way to direct the STDOUT of a Perl Filter script
>to a new window without selecting STDERR?  I suppose I could just preface
>each script with "select STDERR" ...

If you want STDOUT sent to a new window rather than replacing the 
selection in the active window prefacing the script with "select STDERR" 
sounds like the best solution to me. I hadn't thought of this. When I've 
wanted the contents of the active window preserved I've duplicated the 
window before I ran the script. I've thought about adding a "STDOUT to 
new window" check box to the tool window that would control whether 
STDOUT replaced the selection or was sent to a new window, but this would 
only be useful if there were scripts where it did not make sense to 
always send the output to either a new window (using "select STDERR") or 
to the active window. I'm not sure how common this is.

Brad