Re: Keyboard shortcut for slowing down/speeding up animations

Posted by BenTupper on
URL: http://imagej.273.s1.nabble.com/Keyboard-shortcut-for-slowing-down-speeding-up-animations-tp3688025p3688028.html

Hi,

On Jun 7, 2010, at 9:27 AM, massybird wrote:

> Do you know the command option for Last Frame in Animation Options?  
> I'm
> looking to do something like this:
>
> run("Animation Options...", "Last Frame=2");
>

Multi-word menu options get trimmed to just the first word.  Spaces  
are used to separate multiple arguments. The best way to determine the  
right argument list, when in doubt, is to turn on the handy macro  
recorder; see the menu option Plugins > Macros > Record.  I did just  
that and recorded these steps....

run("Bat Cochlea Volume (19K)");
run("Animation Options...", "speed=7 first=1 last=2");

You can see that "Last Frame" in the Animation Options GUI became  
"last=2".

Cheers,
Ben