Copy link to clipboard
If I use the arrow keys to go threw a text then in the info panel I can see the X and Y coordinate relative to the text container.
Is it possible to retreive this x and y coordinate for each glyph in the text with a script?
Try this—it would be relative to the current ruler zeropoint:
var x = app.activeDocument.selection.horizontalOffset;
var y = app.activeDocument.selection.baseline
alert("x: " + x + "\ry: " + y);