macro language: how to get Duplicate work on the whole stack

Posted by Nico Stuurman-2 on
URL: http://imagej.273.s1.nabble.com/macro-language-how-to-get-Duplicate-work-on-the-whole-stack-tp3701625.html

Is there a way to have the

run("Duplicate...","new_title");

command in the macro language work on the whole stack (i.e., 'check'
the checkbox that is present in the user interface), rather than only
the current frame?  I know I can achieve this by looping through the
slices and copying them individually, but this ends up being much
slower than the duplicate command in the UI.

Thanks!

Nico