Display a message all along the macro execution

Hello,

I am writing a macro to help a user doing some image analyses. I want to display a message that can be kept during the macro execution. I tried this :

showMessage("Instructions", "You can keep this message during the macro session.\n"
		+"1) Use '+' and '-' keys to focus/unfocus.\n"
		+"2) Draw ellipse to surround the particles.\n"
		+"3) etc ...");

However the macro cannot continue until I press OK and if I press OK the message disappears. I want to keep it in background.

How to keep a window message all along the macro execution?

Thank you.

@Tryphon

Would it be ok to just print it out to the log window immediately? So:

print("Instructions", "You can keep this message during the macro session.\n1) Use '+' and '-' keys to focus/unfocus.\n2) Draw ellipse to surround the particles.\n3) etc ...");

OR

showText("Instructions","You can keep this message during the macro session.\n1) Use '+' and '-' keys to focus/unfocus.\n2) Draw ellipse to surround the particles.\n3) etc ...");

1 Like

Yes for the showText method. My Log window is too crowdy.

Thank you.

1 Like