Copy link to clipboard
Copied
Good day all,
Reaching out to experts to see if anyone can assist to update this script to work with new CC Illustrator.
This is an older script which i came across years ago,
and made the 2 small changes suggested by Larry G. Schneider
if (pageItemType == "TextArtItem")
change to
if (pageItemType == "TextFrame")
and
theTextRange = pageObject.textRange();
change to
theTextRange = pageObject.textRange;
Yet this will not function properly on CC2014 as I get an error every time i try to run this.
I love the effects of this and seeing if someone can help update or fix so this works on newer versions. Below is link to original post.
THANKS MUCH in advance for anyone that can help.
Copy link to clipboard
Copied
Good day all,
Reaching out to experts to see if anyone can assist to update this script to work with new CC Illustrator.
This is an older script which i came across years ago,
and made the 2 small changes suggested by Larry G. Schneider
if (pageItemType == "TextArtItem")
change to
if (pageItemType == "TextFrame")
and
theTextRange = pageObject.textRange();
change to
theTextRange = pageObject.textRange;
Yet this will not function properly on CC2014 as I get an error every time i try to run this.
I love the effects of this and seeing if someone can help update or fix so this works on newer versions. Below is link to original post.
THANKS MUCH in advance for anyone that can help.
Copy link to clipboard
Copied
I remember that script from way back. Try this:
Copy link to clipboard
Copied
John Wundes' TextTweaker script can do that and many other things: wundes.com
Copy link to clipboard
Copied
Hi razo.ad1985,
I believe the suggestions above are great and it should get your desired output. In case you need further assistance, I would suggest you to check Illustrator Scripting forum as well for dedicated Scripting support.
Regards,
Om
Copy link to clipboard
Copied
https://forums.adobe.com/thread/1414597?tstart=0
razo.ad1985 reply #2
“i borrowed second image from online as looked similar to what i am trying to achieve....”
I did that Illustrator file over 10 years ago and posted on another forum.
I just tested my script. Still works. (YIPPEE)
• macOS Sierra (version 10.12.4)
• Illustrator CC 2017 (version 21.1.0)
As I recall from long ago, I modified a script that came shipped with maybe CS2.
I made a new script, SizeTextOneDirection.js
I am NOT a scripting person!
I opened the script using Text Edit app.
Here is the text for SizeTextOneDirection.js
selection = app.activeDocument.selection;
for(i=0, scale=100.0; i< selection.characters.length; i++, scale *= 0.99) {
selection.characters.characterAttributes.horizontalScale = scale;
selection.characters.characterAttributes.verticalScale = scale; }.
Here is my sample file created with Illustrator CC 2017 (version 21.1.0)
Set your text.
With the Text Tool, select all your text, run the script SizeTextOneDirection.js
Copy your text, Paste on a path. (Text on a Path)
Hope that helps.
K
Copy link to clipboard
Copied
Thank you, but is this the full code?
I think no. Does't works for me.
Please write the full text.
Copy link to clipboard
Copied