Script: Find and Replace Graphics version 2

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
Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • email
  • LinkedIn
  • StumbleUpon
  • Twitter

Tags: , , , , , , , ,

4 Responses to “Script: Find and Replace Graphics version 2”

  1. jason says:

    Tried using this and get error:

    Error 25: Expected ].
    Line: 1
    -> subArray0["object]=[PathItem photoElement1]

    Thoughts?

  2. nick says:

    wow - this is exactly what I’ve been looking for. thank you!!

  3. fr says:

    Hello Nathaniel, i just tried your plugin with cs5, no success, but i didn’t take time to step in to see where it went wrong.

Leave a Reply