I am writing a script for Indesign. In that script I am taking the contents of the textframes and save them to a database. Till here my script works. However when looping between textframes script uses creation order. I want to save to database in question order.
Here is my script:
var myDocument = app.activeDocument;var frameList = myDocument.textFrames;
for (var i = 0; i < frameList.length; i++){
var txt=frameList[i].contents;
SaveToDB(txt);
}
So is there a way to change creation order of textframes
Aucun commentaire:
Enregistrer un commentaire