To anchor a line into a praragraph one would CUT it, then select the the Type Tool and then click in the position of the text where they want the line to appear and paste.
Is following those steps one way to go about anchoring a line into a paragrah via a script?
Something like below??
cut(myGraphicLine)
"my text here " + paste(myGraphicLine) + "the rest of my text here."
I have a handful of different lines that need to be anchored into the same paragraph via a script.
Thank you.
You can select a line and then run a script to do something with it, but how would a script know where in your text to paste the line? You cannot select a line and "then" point somewhere inside the text where it should be pasted -- if you do that you might as well directly cut-and-paste manually.
North America
Europe, Middle East and Africa
Asia Pacific