Login  Register

Re: Open Next

Posted by Leon Espinosa on Apr 26, 2006; 3:51pm
URL: http://imagej.273.s1.nabble.com/Open-Next-tp3702792p3702797.html

OK it works... but only in forward direction.
Because run("Open next") has not argument to indicate de direction,  
default behavior is forward (it is possible to go backward with  
keyboard shortcut "shift+alt+o"). But how to use it in a macro/plug-
in ? (my feeling is that there is something to change in  
IJ_Props.txt but I don't know what...)


Leon





Le 26 avr. 06 à 16:30, Jerome Mutterer a écrit :

> 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
>>
>

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