Hello all,
in the following macro, I sometimes cannot change the "hello" string, i.e. the
dialog has lost focus. The OK button works. I cannot reproduce this problem
reliably. Activating a different application (e.g. the Finder) and coming back
helps.
But it possible to blind-fix this problem better?
Best regards,
Norbert
close("ABC");
newImage("ABC", "8-bit ramp", 300, 300, 1);
selectImage("ABC");
showMessage("Click OK to continue");
//selectWindow("ImageJ");//does not help
Dialog.create("My Dialog");
Dialog.addString("Enter String", "hello");
Dialog.show;
--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html