Re: Text window name?
Posted by
Gabriel Landini on
May 17, 2007; 5:20pm
URL: http://imagej.273.s1.nabble.com/Text-window-name-tp3699442p3699446.html
On Thursday 17 May 2007 17:00:38 Curtis Rueden wrote:
> Hi Gabriel,
>
> Ah, I should have read the macro documentation more thoroughly. From
> the web site:
>
> "Starting with ImageJ 1.38m, the second argument to print(arg1, arg2)
> is appended to a text window or table if the first argument is a
> window title in brackets."
>
> So the situation with print is a special case. If the first argument
> is something in brackets, it is interpreted as a file. Otherwise, it
> is merely concatenated.
> Note that your working macro still works if you change the f2 to f1 in
> the "run" command (because "Test" contains no spaces).
I was not sure of why of this. It seems a bit convoluted, but perhaps there is
no other way of indicating what the argument means?
Thanks again,
Gabriel