Login  Register

Shortcuts problem with In [+] command

Posted by Schebique on May 31, 2016; 4:26pm
URL: http://imagej.273.s1.nabble.com/Shortcuts-problem-with-In-command-tp5016558.html

Dear all

I wanted to remap zooming commands to a different keys. I got this line in
recorder: run("Add Shortcut... ", "shortcut=F1 command=[In [+]]");

however, when I use it in macro, the command "In [+" only is installed and
is of course recognized nor executed. Correct should be "In [+]".

The problem is likely in looking for the first occurence of ] instead of
the last one in argument parsing ....

Would be nice to fix this.

Thank you very much.

Ondrej.

--
Mgr. Ondřej Šebesta
Laboratory of Confocal and Fluorescence Microscopy
Faculty of Science, Charles University in Prague
Vinicna 7
128 44 Prague
Czech Republic

Phone: +420 2 2195 1943
e-mail: [hidden email]

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