var s = app.selection[0]; var l = s.parentStory.characters.itemByRange( 0, s.index ).lines.length; alert ( l );
| 12.10.2023