Problem passing options to my plugin from macros

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

Problem passing options to my plugin from macros

Mike Myerburg
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.

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").

I imagine that I am missing something in my plugin filter that will
allow for this to work.  I have looked through other plugins that work
this way, yet I still cant figure out what I am missing.

Any suggestions?

Thanks, Mike
Reply | Threaded
Open this post in threaded view
|

Antwort: Problem passing options to my plugin from macros

Joachim Wesner
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 
______________________________________________________________________
Reply | Threaded
Open this post in threaded view
|

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

Mike Myerburg
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 
> ______________________________________________________________________
>
Reply | Threaded
Open this post in threaded view
|

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

Joachim Wesner
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 
______________________________________________________________________
Reply | Threaded
Open this post in threaded view
|

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

Mike Myerburg
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?

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 
> ______________________________________________________________________
>
Reply | Threaded
Open this post in threaded view
|

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

Ben Tupper
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!