Synchronize window in a macro

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Synchronize window in a macro

Eric Denarier
Hi Everyone,
I want to synchronize C1_Image and C2_Image in a macro.
Is it possible ?
I am using run("Synchronize Windows"); but I am not able to pass the
name of the images in the macro.

Thanks for your advice

--

Eric Denarier
Grenoble Institut des Neurosciences
Inserm U1216
Chemin Fortuné Ferrini
38700 La Tronche
France

Tél :33 (0)4 565 205 38

http://neurosciences.ujf-grenoble.fr/

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Synchronize window in a macro

Herbie
Good evening Eric,

what I can contribute is just

        run( "Synchronize Windows", "Untitled Untitled-1" );

where "Untitled" and "Untitled-1" are the names of two images.

I fear that there is little hope for further macro support...
<https://imagej.nih.gov/ij/source/ij/plugin/frame/SyncWindows.java>

Best

Herbie

:::::::::::::::::::::::::::::::::::::::::::
Am 06.01.17 um 17:50 schrieb Eric Denarier:
> Hi Everyone,
> I want to synchronize C1_Image and C2_Image in a macro.
> Is it possible ?
> I am using run("Synchronize Windows"); but I am not able to pass the
> name of the images in the macro.
>
> Thanks for your advice

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Synchronize window in a macro

Eric Denarier
Thanks Herbie for you answer,
run( "Synchronize Windows", "Untitled Untitled-1" );
  only opens the synchronize window but do not select the specified
images (using imageJ1.51i).

Eric Denarier
Grenoble Institut des Neurosciences
Inserm U1216
Chemin Fortuné Ferrini
38700 La Tronche
France

Tél :33 (0)4 565 205 38

http://neurosciences.ujf-grenoble.fr/

Le 06/01/2017 18:20, Herbie a écrit :

> Good evening Eric,
>
> what I can contribute is just
>
>     run( "Synchronize Windows", "Untitled Untitled-1" );
>
> where "Untitled" and "Untitled-1" are the names of two images.
>
> I fear that there is little hope for further macro support...
> <https://imagej.nih.gov/ij/source/ij/plugin/frame/SyncWindows.java>
>
> Best
>
> Herbie
>
> :::::::::::::::::::::::::::::::::::::::::::
> Am 06.01.17 um 17:50 schrieb Eric Denarier:
>> Hi Everyone,
>> I want to synchronize C1_Image and C2_Image in a macro.
>> Is it possible ?
>> I am using run("Synchronize Windows"); but I am not able to pass the
>> name of the images in the macro.
>>
>> Thanks for your advice
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Synchronize window in a macro

Krs5
Dear Eric,

It seems not possible to directly use Synchronize Windows in a macro (see also: http://stackoverflow.com/questions/35870932/imagej-synchronize-windows)

However, it should be possible to use it via the IJ-Robot from Gabriel Landini (http://www.mecourse.com/landinig/software/software.html)/ https://imagej.net/IJ_Robot).

Best wishes

Kees


Dr Ir K.R. Straatman
Senior Experimental Officer
Advanced Imaging Facility
Centre for Core Biotechnology Services
University of Leicester
http://www2.le.ac.uk/colleges/medbiopsych/facilities-and-services/cbs/lite/aif

-----Original Message-----
From: Eric Denarier [mailto:[hidden email]]
Sent: 07 January 2017 13:42
To: [hidden email]
Subject: Re: Synchronize window in a macro

Thanks Herbie for you answer,
run( "Synchronize Windows", "Untitled Untitled-1" );
  only opens the synchronize window but do not select the specified images (using imageJ1.51i).

Eric Denarier
Grenoble Institut des Neurosciences
Inserm U1216
Chemin Fortuné Ferrini
38700 La Tronche
France

Tél :33 (0)4 565 205 38

http://neurosciences.ujf-grenoble.fr/

Le 06/01/2017 18:20, Herbie a écrit :

> Good evening Eric,
>
> what I can contribute is just
>
>     run( "Synchronize Windows", "Untitled Untitled-1" );
>
> where "Untitled" and "Untitled-1" are the names of two images.
>
> I fear that there is little hope for further macro support...
> <https://imagej.nih.gov/ij/source/ij/plugin/frame/SyncWindows.java>
>
> Best
>
> Herbie
>
> :::::::::::::::::::::::::::::::::::::::::::
> Am 06.01.17 um 17:50 schrieb Eric Denarier:
>> Hi Everyone,
>> I want to synchronize C1_Image and C2_Image in a macro.
>> Is it possible ?
>> I am using run("Synchronize Windows"); but I am not able to pass the
>> name of the images in the macro.
>>
>> Thanks for your advice
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

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

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Synchronize window in a macro

Eric Denarier
Hi Kees,
It works !!! Thanks a lot for this suggestion.
  I didn't know this plugin. So funny !!! And usefull !!!

Regards

Eric Denarier
Grenoble Institut des Neurosciences
Inserm U1216
Chemin Fortuné Ferrini
38700 La Tronche
France

Tél :33 (0)4 565 205 38

http://neurosciences.ujf-grenoble.fr/

Le 09/01/2017 09:57, Straatman, Kees (Dr.) a écrit :

> Dear Eric,
>
> It seems not possible to directly use Synchronize Windows in a macro (see also: http://stackoverflow.com/questions/35870932/imagej-synchronize-windows)
>
> However, it should be possible to use it via the IJ-Robot from Gabriel Landini (http://www.mecourse.com/landinig/software/software.html)/ https://imagej.net/IJ_Robot).
>
> Best wishes
>
> Kees
>
>
> Dr Ir K.R. Straatman
> Senior Experimental Officer
> Advanced Imaging Facility
> Centre for Core Biotechnology Services
> University of Leicester
> http://www2.le.ac.uk/colleges/medbiopsych/facilities-and-services/cbs/lite/aif
>
> -----Original Message-----
> From: Eric Denarier [mailto:[hidden email]]
> Sent: 07 January 2017 13:42
> To: [hidden email]
> Subject: Re: Synchronize window in a macro
>
> Thanks Herbie for you answer,
> run( "Synchronize Windows", "Untitled Untitled-1" );
>    only opens the synchronize window but do not select the specified images (using imageJ1.51i).
>
> Eric Denarier
> Grenoble Institut des Neurosciences
> Inserm U1216
> Chemin Fortuné Ferrini
> 38700 La Tronche
> France
>
> Tél :33 (0)4 565 205 38
>
> http://neurosciences.ujf-grenoble.fr/
>
> Le 06/01/2017 18:20, Herbie a écrit :
>> Good evening Eric,
>>
>> what I can contribute is just
>>
>>      run( "Synchronize Windows", "Untitled Untitled-1" );
>>
>> where "Untitled" and "Untitled-1" are the names of two images.
>>
>> I fear that there is little hope for further macro support...
>> <https://imagej.nih.gov/ij/source/ij/plugin/frame/SyncWindows.java>
>>
>> Best
>>
>> Herbie
>>
>> :::::::::::::::::::::::::::::::::::::::::::
>> Am 06.01.17 um 17:50 schrieb Eric Denarier:
>>> Hi Everyone,
>>> I want to synchronize C1_Image and C2_Image in a macro.
>>> Is it possible ?
>>> I am using run("Synchronize Windows"); but I am not able to pass the
>>> name of the images in the macro.
>>>
>>> Thanks for your advice
>> --
>> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

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