Login  Register

Antwort: Re: Antwort: running a plugin from a macro

Posted by Joachim Wesner on Jan 20, 2010; 4:24pm
URL: http://imagej.273.s1.nabble.com/running-a-plugin-from-a-macro-tp3689642p3689645.html

Yep, respectively, can put even if I think that the singel >'< causes the
problem with the apparently missing ";", it is also true that you cannot
simply have several "xxx=..." parameters and spaces,
it will not be able to tell what goes where, however, IIRC you CAN put
parameter strings with spaces in "[]" brackets, I seem to remember that´s
what the macro recorder does, try to play around a bit!

Mit freundlichen Grüßen / Best regards

Joachim Wesner
www.leica-microsystems.com



                                                                           
             Guanghua Du                                                  
             <[hidden email]>                                                
             Gesendet von:                                              An
             ImageJ Interest            [hidden email]                
             Group                                                   Kopie
             <[hidden email].                                            
             GOV>                                                    Thema
                                        Re: Antwort: running a plugin from
                                        a macro                            
             20.01.2010 08:49                                              
                                                                           
                                                                           
              Bitte antworten                                              
                    an                                                    
              ImageJ Interest                                              
                   Group                                                  
             <[hidden email].                                            
                   GOV>                                                    
                                                                           
                                                                           




I would say (but I am not sure) the reason for that problem is the
parameters should not contain any space, since path4 contains several
space in between, you can try a file name without a space.

guanghua

Joachim Wesner wrote:

> Hi Chris,
>
>> but when i run it with
>> run("MTrack2 ", "minimum=6 maximum=999999 maximum_=10 minimum_=2 save
>> save=&path4");
>
>> debugger says the path is (as expected):
>> path4    "Q:\Julia_rpt\marina\binary\HL3 30' 1 uncomp.xls"
>
>> I get an error:
> ';' expected in line 24
>> <run> ("MTrack2 ", "minimum=6 maximum=999999 maximum_=10 minimum_=2 save
>> save=&path4");
>
>
> What about the single quote >'< in path4?
>
>
> Mit freundlichen Grüßen / Best regards
>
> Joachim Wesner
> www.leica-microsystems.com
>
>
> ______________________________________________________________________
> 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 
______________________________________________________________________