Login  Register

Re: Open Next

Posted by Jerome Mutterer on Apr 26, 2006; 3:30pm
URL: http://imagej.273.s1.nabble.com/Open-Next-tp3702792p3702796.html

this should be working, it makes a copy of the current image, and  
opens next image.

macro "Open Next without closing [F1]"{
title=getTitle();
rename ("temp");
run("Duplicate...", "title="+title);
selectWindow("temp");
run("Open Next");
}


Jerome


Quoting Leon Espinosa <[hidden email]>:

> Thank you Jerome... but it doesn't work. because the default behavior =20=
>
> of the NextImageOpener plug-in is to close the previous image, and =20
> also it dosn't work because your macro starts with a "close();" =20
> command so if there is just one image open it says "no images open"...
> I still trying...
>
> All the best, Leon
>
>
>
> Le 26 avr. 06 =E0 16:00, Jerome Mutterer a =E9crit :
>
>> macro "Close and Open Next [F1]"{
>> close();
>> run("Open Next");
>> }
>> macro "Open Next [F2]"{
>> run("Open Next");
>> }
>
> Leon Espinosa
> [hidden email]
>
> Laboratoire des Rickettsies du Pr. RAOULT
> UMR CNRS 6020
> Fac. de Medecine de la Timone
> 27 Bd Jean Moulin
> 13005 Marseille
>
> tel  04 91 38 55 17
> fax 04 91 38 77 72
>
> portable  06 79 25 97 40
>