Skip to main content
Sawlay
Participating Frequently
May 4, 2012
Question

how to give text shadow in AI Script plz help

  • May 4, 2012
  • 2 replies
  • 1520 views

how to give text shadow in AI Script ie apply shadow to text.

This topic has been closed for replies.

2 replies

CarlosCanto
Community Expert
Community Expert
May 4, 2012

you mean Drop Shadow Effect?

Sawlay
SawlayAuthor
Participating Frequently
May 5, 2012

ya any shadow type

Inspiring
May 5, 2012

Well given that you have a graphic style fuzz in an open document and a page item… then…

var doc = app.activeDocument;

var fuzz = doc.graphicStyles.getByName( 'fuzz' );

fuzz.applyTo( doc.pageItems[0] );

Inspiring
May 4, 2012

In script you must have a graphic style for the shadow and apply that to your text…