Source Text
Reach it with layer.property("Source Text"), layer.text.sourceText, property("Text").property("Source Text") or matchName ADBE Text Document. Its value is a TextDocument; change it and give it back with setValue(doc) (or setValue("new text")).
var st = layer.property("Source Text");
var doc = st.value;
doc.text = doc.text.replace(/old/g, "new");
doc.fontSize = 96;
st.setValue(doc);
Source Text can't be keyframed or given an expression from a script.
TextDocument fields
| Field | Notes |
|---|---|
text | Lines split by \r or \n. |
font / fontFamily | A family name, or a PostScript name like "Arial-BoldMT" (its Bold/Italic is applied). A font Brio can't draw throws, naming close ones. |
fontStyle | Read-only. |
fontSize | |
fillColor, applyFill | [r, g, b] 0–1. |
strokeColor, strokeWidth, applyStroke, strokeOverFill | |
justification | Left / center / right (ParagraphJustification.*). |
allCaps, fauxBold, fauxItalic | |
tracking | 1/1000 em. |
leading, autoLeading | Read-only. |
Text animators
property("Text").property("Animators").addProperty("ADBE Text Animator")animator.property("Properties").addProperty(…)for:
| Property | matchName |
|---|---|
| Position | ADBE Text Position 3D |
| Anchor Point | ADBE Text Anchor Point 3D |
| Scale | ADBE Text Scale 3D |
| Rotation | ADBE Text Rotation |
| Skew | ADBE Text Skew |
| Opacity | ADBE Text Opacity |
| Tracking Amount | ADBE Text Tracking Amount |
animator.property("Selectors").addProperty("ADBE Text Selector")or"ADBE Text Wiggly Selector".
Also: animator.name, enabled, remove(). Animators already on a layer read back the same way. Brio creates the animator when its first property arrives; until a selector is added it selects everything, as in AE.
Range selector
| Setting | Notes |
|---|---|
| Start, End, Offset | Keyable. |
| Advanced ▸ Units | |
| Advanced ▸ Based On | Characters, words or lines. |
| Advanced ▸ Mode | |
| Advanced ▸ Amount | Keyable. |
| Advanced ▸ Shape | Square, Ramp Up, Ramp Down, Triangle, Round, Smooth. |
| Advanced ▸ Smoothness, Randomize Order, Random Seed | |
| Ease High / Ease Low | Only at 0. |
Wiggly selector
Max Amount, Min Amount, Wiggles/Second, Correlation (keyable), Random Seed.
Not available
Fill / stroke colour animator properties, character offset, blur, expression selectors and per-character text styles throw.