Skip to main content
This topic has been closed for replies.
Correct answer Manan Joshi

In simple terms insertion point would be the cursor location in a textframe, i.e the space between two characters where the cursor blinks. If you want to insert something into the current cursor location, you could use something like

app.selection[0].contents = "inserted text"

-Manan

1 reply

Manan JoshiCommunity ExpertCorrect answer
Community Expert
January 8, 2019

In simple terms insertion point would be the cursor location in a textframe, i.e the space between two characters where the cursor blinks. If you want to insert something into the current cursor location, you could use something like

app.selection[0].contents = "inserted text"

-Manan

-Manan
gabrielg28279016
Participating Frequently
January 8, 2019

So when I use textFrame.insertionPoints[-1] for example, I have the coordinates where the last character of text within TextFrame is?

Peter Kahrel
Community Expert
Community Expert
January 8, 2019

Correct. Though as Manan mentioned, insertionPoints is not a character but, well, an insertion point. If you click between two characters then that blinking small vertical bar (aka as the cursor') is the insertion point. The last character in a frame is textFrame.characters[-1].

P.