3

I'm working on a papercraft project and I need to change the order of the tabs. To do so, I have to manually search for the two corresponding number and edit them one at the time.

enter image description here


enter image description here


enter image description here


Is there any way to select two identical text boxes (94 in this example) and edit them simultaneously, so they both change into 17 at the same time?

  • 3
    Use Edit > Find and Replace – Billy Kerr Feb 19 at 8:45
  • If You Use Illustrator CC 19; Then It Have Option Called Global Edit; Go To Select-Start Global Edit And Then All Your Identical Objects Will Be Edited automatically ;no matter either it is about shape or path detail or color or style ; Everything will be changed Globally – Design Phoenix Apr 5 at 10:28
2

You can use Edit → Find and replace. But use it carefully so you don't edit wrong figures. It would be clever to use 2 or 3-digit number series like: 001, 002, 003 etc making it more easy to narrow down search/replace.

  • Or find whole word checked. Too bad they dont allow for regexps – joojaa Feb 19 at 9:20
0

Try this script, it will work on the document selection - so make sure both of those texts are selected before you run it.

#target illustrator
function test(){
    var doc = app.activeDocument;
    var sel = doc.selection;
    var thisItem;
    var selectedTextItems = [];
    for (var i = 0; i < sel.length; i++) {
        thisItem = sel[i];
        if (thisItem.typename == "TextFrame") {
            selectedTextItems.push(thisItem);
        }
    }
    if(selectedTextItems.length < 1){
        alert("No text frames were found in your selection.");
        return;
    }
    var newText = prompt("Enter new text for the " + selectedTextItems.length + " selected text-frames.", "");
    if(newText){
        for (var i = 0; i < selectedTextItems.length; i++) {
            selectedTextItems[i].contents = newText;
        }
    }
}
test();
0

You could use Symbols for the numbers.

Then place Symbol Instances on the artwork, not text objects. Alter 1 symbol and all it's instances will update.

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.