Synchronize windows

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Synchronize windows

Stein Rørvik
Is there any way I can run the "Synchronize windows" function and get all windows synched, from a macro or javascript?

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
Reply | Threaded
Open this post in threaded view
|

Re: Synchronize windows

Aryeh Weiss
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.html

Looks 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
Reply | Threaded
Open this post in threaded view
|

Re: Synchronize windows

Krs5
In reply to this post by Stein Rørvik
See:
http://imagej.1557.x6.nabble.com/Synchronize-window-in-a-macro-td5017849.html
for an earlier discussion about this.

Best wishes

Kees





--
Sent from: http://imagej.1557.x6.nabble.com/

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