How to auto-thread Text Frames?
i designing document refers readers reader service card. each ad needs subsequent number , there may multiple ads per page or pages without @ all. i've had success using script:
count = 0;
str = "";
while (count < 100)
{
count++;
str += "circle #"+count+" on reader service card."+"\r";
}
app.selection[0].contents = str;
this fill selected text frame long sequence of sentences number incremented, still have manually thread each text frame next. if change order of ads or insert/remove one, threading has redone.
so there method of going through document beginning end, selecting specific text frames , threading them together? run every time ad layout changes. perhaps these text frames of exact same size or otherwise differentiated rest of content script find them?
hi,
there set of solutions here did consider edit ad's (is graphic file?) metadata content?
if each of yours ad have proper string in metadata field, i.e. "description" => indesign text variable display whereever place (rearrange) file/s.
using this, need take care proper file metadata content.
rgds
jarek
More discussions in InDesign Scripting
adobe
Comments
Post a Comment