Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

Make a text selection in text frame.

$
0
0

The objective is to replicate setting kerning between 2 individual characters, which is done in the UI by inserting the caret between 2 characters in a text frame and then using the now-accessible kerning input in the characters panel.

Using scripting, though, an empty selection is not well-liked and at least one character has to be "highlighted" so that script-applied kerning can be applied to the space before that character.

But how is it possible to make a selection through javascript? This is more of a curious experimentation at this point.


Viewing all articles
Browse latest Browse all 12845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>