0

thanks in advance for any assistance regarding this issue

i am not scripting guy i copied this script from somewhere i don't remember

var document = app.activeDocument; var TextFrame = activeDocument.selection; TextFrames = activeDocument.selection; TextFrame.contents = "Hello friends, how are you.";

problem is i need this textframe to be two line and text cursor should not be at start but be at end so that i can start tying from the end

any help appreciated

3
  • You need to check "insertion point" in the scripting documentation. Commented Jun 2, 2023 at 22:12
  • Try putting \n in the text, where the new line should begin. Commented Jun 3, 2023 at 5:28
  • Thanks Kris Van Bael i am happy \n worked for new line my second issue still same :- about cursor not shifting at end of line/ statement . Commented Jun 4, 2023 at 8:41

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.