Alex,
the Macro-functions manual says:
"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,
for example print("[My Window]", "Hello, world")."
Consequently this routines applies to cases where you already have a
text-window open that, in the example, is named My Window.
To test this, you may create an empty text window from the file menu.
Save it and use the file name for the above print routine.
Works for me.
>Hi,
>
>I am a complete novice to ImageJ and sorry for very stupid question.
>I have tried the example in "ImageJ Macro Language" document:
>
>print("[My Window]", "Hello, world");
>
>As I understand it should produce a window titled "My Window" with
>the text "Hello, world".
>However, ImageJ returns the error Window not found in line 1.
>
>What I am doing wrong?
>
>Sincerely,
>Alex
HTH
--
Herbie
------------------------
<
http://www.gluender.de>