On 26/08/2019 11:31, Stein Rørvik wrote:
> Is there any way I can run the "Synchronize windows" function and get all windows synched, from a macro or javascript?
Have you tried the SyncWindows class?
https://imagej.nih.gov/ij/developer/api/ij/plugin/frame/SyncWindows.htmlLooks like it may do what you need in Javascript
Best regards
--aryeh
>
> The macro recorder only records the call to the opening the Synchronize windows dialog, not any interactions with the dialog.
>
> What I want to achieve is a quick way to turn on synchronization of all open windows; which I can add as an action tool button.
>
> Stein
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
Aryeh Weiss
Faculty of Engineering
Bar Ilan University
Ramat Gan 52900 Israel
Ph: 972-3-5317638
FAX: 972-3-7384051
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html