How to search / filter objects by name in Layers panel?
Is there any way exists for filter (via typing substring) list of all document objects in Adobe Illustrator Layers panel? For quick find and select objects with same word in name.
Is there any way exists for filter (via typing substring) list of all document objects in Adobe Illustrator Layers panel? For quick find and select objects with same word in name.
Yes, possible with scripting.
![]()
Here you go:
// select_byPartOfName.jsx
// does not work with 'automatically' named text frame items
//
var aDoc = app.activeDocument;
var pI = aDoc.pageItems;
aDoc.selection = null;
$.writeln(pI.length)
for (i=pI.length-1; i>=0; i--) {
$.writeln(pI.name.match(/test/i))
if (pI.name.match(/test/i) != null) {
pI.selected = true;
}
}

Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.