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?

2
  • 3
    Use Edit > Find and Replace
    – Billy Kerr
    Commented Feb 19, 2019 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
    – Mr.Online
    Commented Apr 5, 2019 at 10:28

3 Answers 3

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.

1
  • Or find whole word checked. Too bad they dont allow for regexps
    – joojaa
    Commented Feb 19, 2019 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 and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.