Posts Tagged ‘parent layer’

Script: Find and Replace Graphics version 2

Wednesday, April 2nd, 2008

ai cs3 logoToday’s script installment is Find and Replace Graphics version 2.

Download script (13k file size).

Please give this script a whirl. Email me with bugs or feature enhancements.

find and replace graphics version 2 demo movie screenshot

Watch a movie demo of the script with voiceover! (2.2 mb)

Important Enhancements:

  1. The find-replace objects now remain on their original layer. No more error alerts about locked layers.
  2. The find-replace object are now in the same z-stacking (object stacking) order as the original.
  3. "Replacing" master object is now deleted once it has replaced all the find objects. Turn this off by changing line 43: var deleteReplaceWithObj = false;
  4. Centered, non-scaled XY placement is default.
  5. If non-proportional scaling is desired change line 37 to: var scaledObject = true;

Future Work:

  1. Proportional scaling in X, Y, or weighted XY that is still centered on the original object’s center point.

To install new scripts you need to:

  • Quit Illustrator
  • Copy the files into the Illustrator application folder’s “Presets” » “Scripts” subfolder
  • After restarting Illustrator you can find the scripts in the menu “File” » “Scripts”;
  • TIP: You can create subfolders in the scripts folder to organize your scripts

Script: Make Point Type version 3

Tuesday, April 1st, 2008

ai cs3 logoToday’s script installment is Make Point Type version 3. Version 2 was never released widely.

Download script (10k file size).

Please give this script a whirl. Email me with bugs or feature enhancements.

make point type demo movie image

Watch a movie demo of the script with voiceover! (2.1 mb)

Important Enhancements:

  1. The text objects now remains on their parent layer that it was found in. No more error alerts about locked layers.
  2. The type is EXACTLY in the same X-Y position it was as area type. No more small jump in Y layout.
  3. Rotated type is fully supported, even upside down type (must be a rectangular area).
  4. Type on a path now reflects the original XY position and the former curve is approximated with rotation.
  5. Type on a path conversion can be turned on by changing line 19 to true: var convertPathType = true;

Continuing Issues:

  1. In some rare cases the type will be flipped 180° (upside down).

To install new scripts you need to:

  • Quit Illustrator
  • Copy the files into the Illustrator application folder’s “Presets” » “Scripts” subfolder
  • After restarting Illustrator you can find the scripts in the menu “File” » “Scripts”;
  • TIP: You can create subfolders in the scripts folder to organize your scripts