Passing parameters to macros using the Dialog.* functions?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Passing parameters to macros using the Dialog.* functions?

Gabriel Landini
Hi,
Is it possible to record the parameters selected in macro that uses the
Dialog.* functions?

If I run such macro with the macro recorder, the parameters do not get
detected by the Macro Recorder.

Thanks

Gabriel
Reply | Threaded
Open this post in threaded view
|

Re: Passing parameters to macros using the Dialog.* functions?

Wayne Rasband
> Is it possible to record the parameters selected in macro
> that uses the Dialog.* functions?
>
> If I run such macro with the macro recorder, the parameters
> do not get detected by the Macro Recorder.

This works with macros with an underscore in their name located in  
the plugins folder. It also works with ImageJ commands implemented  
using a macro, such Edit>Selection>Rotate.

-wayne