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

Popular posts from this blog

Upgrade 3.4.8 to 3.5.1 failed "download package failed" - Joomla! Forum - community, help and support

Joomal 3.6.3 update error - PHP temporary folder is not set - Joomla! Forum - community, help and support

Fatal error during instalation - Joomla! Forum - community, help and support