AS: InDesign CS4: Import text without losing the styles


 

hello,

 

i try fill, applescript, text frame contains 4 lines of text different styles:

pbm-as-1.jpg

i use this:

 

tell text frame "katex_set_1" to set contents to "1250\rnew text one\nnew text two\r300 kg"

 

but then, lose styles:

pbm-as-2.jpg

does have idea without losing styles?

thanks

set contents of each paragraph. sure leave paragraph marks undisturbed.

 

dave



More discussions in InDesign Scripting


adobe

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???