hi,
i try to make a script which allows me first to draw multiple paths in the illustrator workspace an then, apply pathtext on these paths.
now, it works easily for one drawed path, but i wonder, if its possible to link multiple paths together, making the text swap to the next path if the end of the first is reached?
i read something with link(next), but i dont know how to apply it.
is it something like textItem.link(name); ?
but what to put in for name?
thanks for your help
If you want to use PathText items instead of AreaTexts, you'll need to use the visibleRange property. Just add the entire text content to the first PathText item, then compare the visibleRange.length with respect to the range.length. If the range.length is longer, splice the excess text into the next pathText item and repeat.
cool thank you! works great.
i try to do something like the text-pencil tool, but with pathtext. with text-pencil script, every letter is in its own textarea, which makes it hard to edit text, change spacing etc.
the only advance in the text pencil script is, that you see the text immediately and dont have to draw the line first and then apply the text.
is this also possible when i use path text? ( like drawing the path an the letters are applied to the path at the same time )
thanks!