To pause my macro I create a new small image and set it to the side. I
use a while statement to check it is open. Once I close the image, the
macro continues.
Code:
newImage("Close Me When Done With User Input", "8-bit White", 16, 16, 1);
dummyImage=getImageID();
while (isOpen(dummyImage)) {
wait(50);
}
Tomohiro Shirakawa wrote:
> Dear all,
>
> Please let me have 2 questions on macro command.
>
> 1.
> Is it possible to pause macro, setting the interval?
> If possible, please tell me the command.
>
> 2.
> I have referred to “ImageJ Macro Language” page in ImageJ website,
> but is there any site with more detailed instruction or command list
> on the web?
>
>
> Thanks a lot,
>
> Tomohiro Shirakawa
>
>