Copy link to clipboard
Copied
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
...Copy link to clipboard
Copied
Hi ahablett, did you use the latest script I posted yesterday? can you show a screen shot of you selected text including your layers expanded?
Copy link to clipboard
Copied
I would have sworn on a bible that I did, but going back and redoing the process to take screenshots for you, I must have followed directions right this time, and splitSelectedFramesIntoWords2.0.jsx works like a charm. Thank you for your script and patience, I am so stoked to use this tool!
Copy link to clipboard
Copied
you're welcome, I'm happy to hear that...you know, almost 9 years later, this script is still rocking.
Copy link to clipboard
Copied
Hello, thank you for your contribution. I see that even after all these years, you're still responding. I hope you can see this message and assist me. I would greatly appreciate it.
Is there any way to divide a text into lines? For example:
"Line of text 1
Line of text 2
Line of text 3"
And have each line of text separated by an editable text box?
Copy link to clipboard
Copied
hello @cparrasi , see my previous post, to break a frame into separate line please use Wundes script
https://github.com/johnwun/js4ai/blob/master/divideTextFrame.js
Copy link to clipboard
Copied
:fire: Thank you for responding so quickly. I will try to do it with what you have shared.
a question what is WUNDER SCRIPT 🙈
Copy link to clipboard
Copied
Wow, thank you very much, it worked perfectly!!
Copy link to clipboard
Copied
glad to hear it helped.
Wundes is the person who wrote the script