Reply To: Can conditional text be assigned “automatically”?

Home Page / Forums / General InDesign Topics (CLOSED) / Can conditional text be assigned “automatically”? / Reply To: Can conditional text be assigned “automatically”?

#52686
D Y T
Participant

I'm looking to do automatically tag words with a conditional text tag using a script instead of a grep find and replace.

I would like the script to add a unicode character and attach a conditional text tag to it.

to insert the chatacter I would use

app.selection[0].insertionPoints[0].contents = String.fromCharCode(0x035A); // Unicode symbol

but I don't know how to attach the conditional text tag to it.

Any ideas?

This article was last modified on July 18, 2011

Comments (0)

Loading comments...