Help with saving output from macro

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

Help with saving output from macro

sciguy
Greetings all,

I am invoking the MultiStackReg Plugin in a macro I am writing to automate processing of a large number of files. The plugin performs StackReg and allows you to save the transformation matrix to apply to other channels.

My issue is I have been unable to automate the saving location of the "TransformationMatrices.txt" file and am forced by the plugin to manually select a save-to folder each loop. Here is the code for invoking the plugin:

>run("MultiStackReg", "stack_1=Stack1 action_1=Align file_1=[] stack_2=None action_2=Ignore file_2=[] transformation=[Translation] save");


Any idea how I can specify the output location (i.e. by modifying the 'save' element of the run() command?


====
Thanks in advance. First time poster and novice macro writer.