V.9.0 windows 7
Hello,
I have written the following simple script for batch import.
%A = wks.name$;
%B = _treated;
wo -s;
wks.colsel(13,1);
wks.colsel(14,1);
wks.export.cntrl = 8; // Just export selected data - no headers
wks.export.separator$ = "\t";
save -wh %H %A%B.dat;
wo -s; //Remove selections
It works fine in the script window and it works as expected for the final file if placed in the "Script at the end" box of Batch Processing.
Unfortunately, in the intended "Script after each process" box, files are exported empty (1 kb). Is it something that I have missed or is this a bug?
The idea is to export, en-mass, the final two columns of each -new- workbook with the name wks.name$_treated. Thus, ignoring empty books and books that were batch processed earlier.
Does anybody have any ideas?
Thanks,
Bryan