change text
hi all
i try change text in textframe. long use dialog works. switching a
window('dialog', 'a') 
popup not work anymore. why that?
here source change specifiic text in paragraph:
for(var = 0; < app.selection[0].parentstory.paragraphs.length; i++) {     var tf = app.selection[0].parentstory.paragraphs[i].parent.texts[0];     var start = tf.parentstory.paragraphs.item(i).characters.item(0);     var end = tf.parentstory.paragraphs.item(i).characters.item(-2);     var line = doline(tf.texts.itembyrange(start, end).contents.tostring(), delimiter);              tf.texts.itembyrange(start, end).contents = line; } 
thanks
pasithee
does has idea? hint?
 More discussions in  InDesign Scripting         
adobe
 
  
Comments
Post a Comment