Login  Register

command default settings in a macro

Posted by Fco. Javier Diez Guerra on Sep 22, 2019; 6:18pm
URL: http://imagej.273.s1.nabble.com/command-default-settings-in-a-macro-tp5022452.html

Dear listers,

I would like to know how default settings for a given command can be
changed within a macro.

For example, if I run the macro:

     run("Rotate... ");

a window appears with the following default values.

angle = 15 º
grid lines = 1
Interpolation = bilinear
Fill with bacground color = inactive
Enlarge image = inactive

What I am looking for are the statements I have to include in the macro
so that when I run it, a window appears with the following default values?

angle = 0.4 º
grid lines = 20
Interpolation = bicubic
Fill with bacground color = inactive
Enlarge image = inactive

I`ve been browsing to find an answer but could not find it.

Thanks in advance for your input.

Javier


--
Fco. Javier Diez-Guerra, PhD

Servicio de Microscopía Confocal
Centro de Biologia Molecular Severo Ochoa
C/ Nicolás Cabrera, 1
Campus de Cantoblanco
28049 Madrid
SPAIN

Tel     +34 91 196 4612
e-mail: [hidden email]


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