Login  Register

Re: Call plugin with arg from macro

Posted by William O'Connell-3 on Apr 23, 2008; 2:14am
URL: http://imagej.273.s1.nabble.com/Colocalisation-tp3696413p3696417.html

Joachim,
I've passed an argument string from one plugin1 to plugin2 successfully.
plugin1
,,,,,,,,,,,,,,,,,,,,
   IJ.run("plugin1", "argument1");
....................

plugin2
............................
    String str =  Macro.getOptions();
............................

This might well work running the plugin from a macro.  Wayne offered this
method in a user reply some time ago.
Cheers, Bill



On Tue, Apr 22, 2008 at 2:03 PM, Joachim Wesner <
[hidden email]> wrote:

> Hi list,
>
> just wondering, is it (already?) possible to run a plugin from the macro
> language
> while simultaneously passing the String arg to the run method?
>
> (II´m not talking about the Dialog options)
>
> I think this might be useful (not just for me) and could be implemented
> quite easily
> via the call interface, but I wonder if it probably is already implemented
> in some form!?
> (Or should be added to the macro language!?)
>
> Sincerely
>
> Joachim
>
>
>
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
>