running a plugin from a macro

Posted by chris elliott on
URL: http://imagej.273.s1.nabble.com/running-a-plugin-from-a-macro-tp3689642.html

Hi, I'm not sure about passing the path to a plugin:

the macrorecorder gives this:
run("MTrack2 ", "minimum=1 maximum=999999 maximum_=10 minimum_=2 save
save=Q:\\Julia_rpt\\marina\\binary\\trackresults.txt");

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

I noted wayne's suggestion for run("AVI... ", "compression=Uncompressed
frame=0.1 save=&path2"); which works fine (2 lines above)
Is there a better way to pass the path for the output file for Mtrack2?
chris