Login  Register

Block useraction during macro execution?

Posted by vischer on Feb 06, 2017; 4:04pm
URL: http://imagej.273.s1.nabble.com/Block-useraction-during-macro-execution-tp5018034.html

Hi all,

Is there a method to block user interference while a macro is running? Macro commands that work on the front window can easily be spoilt with an unintended click in the wrong window.

For example a command like this one would make life simpler when distributing macros:

blockUserInteraction(boolean)
  During macro execution, any user action that would
  activate a different image window is blocked.
  It still is possible to move a window
  via command-click in the title bar.

Norbert
--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html