1 person found this helpful
Look into BEFORE_PLACE and AFTER_PLACE events
2 people found this helpful
I would suggest placing the text files and just removing the unnecessary paragraphs (line breaks). Example below which is rather simplistic but hopefully will get you down the right path. Just select the text frames and remove paragraphs by range.
var doc = app.activeDocument;
var myFile = "/c/test/myTxtFile.txt";
var myTxf = doc.pages.item(0).textFrames.item(0);
Thanks, that worked like a charm.
I must have been very tired when I completely misread your question