For example if I enter as the content "Title\nSubtitle" so have it appear something like this all with in the same text item?
function createText(artLayerRef, fface, size, colR, colG, colB, content, tX, tY)
artLayerRef.kind = LayerKind.TEXT
textColor = new SolidColor();
textColor.rgb.red = colR;
textColor.rgb.green = colG;
textColor.rgb.blue = colB;
//Get a reference to the text item so that we can add the text and format it a bit
textItemRef = artLayerRef.textItem;
textItemRef.kind = TextType.PARAGRAPHTEXT;
textItemRef.contents = content;
textItemRef.font = fface;
textItemRef.color = textColor;
textItemRef.leading = size/(600/72);
textItemRef.width = 110;
textItemRef.height = size/2;
textItemRef.size = size/(600/72);
//textItemRef.position = new Array(tX, tY) //pixels from the left, pixels from the top
textItemRef.position = new Array(tX-textItemRef.width*(600/72)/2, tY ) //pixels from the left, pixels from the top
textItemRef.hyphenation = false;
The only way to what you want is via ActionManager code.
I've written a set of classes that simplifies the process a bit:
This file shows how to use those classes:
I haven't used or tested this stuff in years so I have no idea how much of this still works.
But it's a start.
Great, I appreciate that. I'll give it a try!