How to divide all textFrames in one-character-per-textFrame?
Hello:
How to divide all textFrames in one-character-per-textFrame?
Example: the textFrame "Letters" will be divided in 7 textFrames: "L", "e", "t", "t", "e", "r", "s".
Help, please.
Hello:
How to divide all textFrames in one-character-per-textFrame?
Example: the textFrame "Letters" will be divided in 7 textFrames: "L", "e", "t", "t", "e", "r", "s".
Help, please.
Hi Victor, here's the JS version, sorry for the delay
#target Illustrator
// script.description = splits selected texFrame into separate characters;
// script.required = select a point text textFrame before running;
// script.parent = CarlosCanto; // 3/5/11
// script.elegant = false;
var idoc = app.activeDocument;
var tWord = idoc.selection[0];
var xpos = tWord.position[0];
var ypos = tWord.position[1];
var charCount = tWord.characters.length;
for (i=charCount-1 ; i>=0 ; i--)
{
var ichar = tWord.duplicate();
ichar.contents = tWord.characters.contents;
tWord.characters.remove();
var width = tWord.width;
ichar.position = [xpos+width,ypos];
}
tWord.remove();
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.