I have put together a set of commands to make the embedding of character ranges much easier and more reliable. Install the mxp file.
In your menu under the commands there will be two new options: getRangesFromSelection and embedRangesOfText.
Now when you have a movie and you wish to embed specific ranges of text in specific textfields you do the following.
Create a new dynamic textfield. Embed the ranges you wish in it. Select the new textfield and run the getRangesFromSelection command.
Something of the like “1|2|3” will print in your ouput panel. This is the ranges you selected to embed.
Then you run the embedRangesOfText command
There are two inputs here: ranges and filter. In the ranges field just paste the string that got output from before.
The filter field has 4 options. If you want to embed this range in all the fields in your movie leave it blank.
The other 3 options look like this
headline*
*headline
*headline*
(excuse the bold office weirdness)
headline* embeds the ranges in all the textfields where the instance name or variable name starts with the word headline
*headline embeds the ranges in all the textfields where the instance name or variable name ends with the word headline
*headline* embeds the ranges in all the textfields where the instance name or variable name contains the word headline
I hope that is a decent explanation