Skip navigation
Sawlay
Currently Being Moderated

i am in need of ai script for arcing text

Mar 30, 2012 9:56 PM

i am in need of ai script for arcing text

 
Replies
  • Currently Being Moderated
    Mar 31, 2012 12:01 PM   in reply to Sawlay

    A little vague aren't we… Is this the kind of arcing you mean? Text along a curve or do you mean distorting into an arch like some plug-in can?

     

    #target illustrator
     
    var doc = app.activeDocument;
     
    doc.defaultFilled = false, doc.defaultStroked = true;
     
    var textPath = doc.pathItems.ellipse( 0, 0, doc.width, doc.height );
     
    textPath.pathPoints[3].selected = PathPointSelection.ANCHORPOINT;
     
    app.cut();
     
    doc.selection = null;
     
    app.redraw();
     
    var tp = doc.textFrames.pathText( doc.pathItems[0], 0, 0, TextOrientation.HORIZONTAL );
     
    tp.textRange.paragraphAttributes.justification = Justification.CENTER;
     
    tp.textRange.characterAttributes.size = 60;
     
    tp.contents = 'I am in need of ai script…';
     
    var tpd = tp.duplicate();
     
    tpd.translate( 0, -150 );
     
    tpd.textRange.characterAttributes.size = 90;
     
    tpd.contents = '…for arcing text?';
    
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points