Answered
Source text
Is there an expression that links Source text from a specific row from another text layer?
Is there an expression that links Source text from a specific row from another text layer?
This should give you whichever line you set "n" to:
txt = thisComp.layer("Text Layer").text.sourceText.split("\r");
n = 3; // get 3rd line
if (txt.length >= n)
txt[n-1]
else
""
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.