0

I'm attempting to write an Illustrator script that will get the length of a text phrase... Then based on the string length, set the warp arc bend, horizontal distortion, vertical distortion to a new value...

Here is my fake pseudo code:

if (textlength = 5)
{
warp_bend = 60%
warp_horizontal = 10%
warp_vertical = 25%
}

I have looked through the Javascript scripting 2017 guide, and I do not see any variables for these warp values. Am I missing something, or is this not possible?

Any help is much appreciated.

Wyatt

0

No you can not do this via the javascript API.

  • Do you happen to know if this is something could be done using the SDK or any other 3rd party plugin? – Wyatt Jackson Jul 14 '18 at 15:04
  • @WyattJackson you can do it in the C++ SDK if you can afford to learn how to use it. On the other hand you can just add spaces to a set wrap – joojaa Jul 14 '18 at 16:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.