Saving XY Coordinates using Process --> Batch --> Macro

I am following up on this question.

I have this macro:

title = getTitle();
run("Enhance Contrast...", "saturated=0.3");
run("Colour Deconvolution", "vectors=[H&E DAB]");
selectWindow(title + "-(Colour_2)");
//setThreshold(0, 121);
setOption("BlackBackground", false);
run("Convert to Mask");
run("Analyze Particles...", "size=200-Infinity pixel show=Masks");
run("Create Selection");
run("Save XY Coordinates...", "save=mypath/filename.txt");

which works perfectly great on any image I select and I want to batch automate it. But the Process --> Batch --> Macro option doesn’t list any text option for saving this result. Any help will be appreciated.