Login  Register

Re: Antwort: Re: Antwort: Problem passing options to my plugin from macros

Posted by Ben Tupper on May 21, 2008; 1:58pm
URL: http://imagej.273.s1.nabble.com/Problem-passing-options-to-my-plugin-from-macros-tp3696169p3696174.html

On May 20, 2008, at 8:34 PM, Mike Myerburg wrote:

> Yea- it works fine without arguments.  I will keep playing with it,  
> but will the e-mail here that comes up work if I get into trouble?

It maybe that you are missing the step to capture the macro  
arguments. There is an explanation by Wayne on the DokuWiki (see  
http://tinyurl.com/6ovx5m) on how to retrieve those. Would that do  
the trick?

Cheers,
Ben



>
> Thanks, Mike
>
> Joachim Wesner wrote:
>> This is strange, does it run when you do not supply arguments? If  
>> you like,
>> you can send me your code
>> by PM to take a look...
>> JW
>> ImageJ Interest Group <[hidden email]> schrieb am 20.05.2008  
>> 12:55:22:
>>> The plugin does not run at all as far as I can tell.
>>>
>>> Mike
>>>
>>> Joachim Wesner wrote:
>>>> Hi,
>>>>
>>>>> However, if I record the macro along with the arguments, nothing
>> happens
>>>>> when I run the macro - i.e. run("FFT 1D", "mode=[Stack Process]
>> fft=256
>>>>> sampling=50 time=20 show").
>>>>>
>>>>
>>>> What exactly happens, is your plugin not run at all or does the  
>>>> dialog
>>>> still appear or get wrong arguments?
>>>>
>>>> JW
>>>>
>>>> ____________________________________________
>>>>
>>>> Leica Microsystems CMS GmbH | GmbH mit Sitz in Wetzlar |  
>>>> Amtsgericht
>>>> Wetzlar  HRB 2432
>>>> Geschäftsführer:  Dr. Stefan Traeger | Dr. Wolf-Otto Reuter |  
>>>> Dr. David
>> Roy
>>>> Martyr | Colin Davis
>>>>
>>>> ImageJ Interest Group <[hidden email]> schrieb am 20.05.2008
>> 10:58:10:
>>>>> Hi-
>>>>>
>>>>> There is a generic dialog at the beginning of my plugin filter  
>>>>> that
>>>>> allows me to set various options.  This works fine when I run the
>> plugin
>>>>> directly or run("FFT 1D") from a macro.
>>>>>
>>>>
>>>> ___________________________________________________________________
>>>> ___
>>>> This email has been scanned by the MessageLabs Email Security  
>>>> System.
>>>> For more information please visit http://www.messagelabs.com/email
>>>> ___________________________________________________________________
>>>> ___
>>>>
>> _____________________________________________________________________
>> _
>> This email has been scanned by the MessageLabs Email Security System.
>> For more information please visit http://www.messagelabs.com/email 
>> _____________________________________________________________________
>> _

Ben Tupper
[hidden email]

I GoodSearch for Ashwood Waldorf School.

Raise money for your favorite charity or school just by searching the  
Internet with GoodSearch - www.goodsearch.com - powered by Yahoo!