Login  Register

Re: positioning WaitForUserDialog() via macro command?

Posted by Bill Christens-Barry-2 on Oct 12, 2015; 3:46pm
URL: http://imagej.273.s1.nabble.com/positioning-WaitForUserDialog-via-macro-command-tp5014598p5014610.html

Wayne,

Perfect - this does just what I was asking about. Thanks.

Bill Christens-Barry

> In the latest ImageJ daily build (1.50d12), the WaitForUserDialog class has a setNextLocation(x,y) method that can be called from a macro. > Here is an example:
>
>   x=50; y=200;
>   call("ij.gui.WaitForUserDialog.setNextLocation",x,y);
>   waitForUser("This dialog is displayed at "+x+","+y);
>
> -wayne

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