Select by Attribute
✦ Available exclusively on Patreon for Pro supporters.
Script for Adobe Illustrator
ㅤ
Functionality
Select by Attribute is a powerful utility script for Adobe Illustrator that helps you filter and select objects based on their properties. The script streamlines your workflow by making it easy to find and select specific types of elements within your document, eliminating the tedious process of manually searching for them.
With intuitive categories and search functionality, you can quickly locate paths with specific attributes, objects with certain color types, text frames, and much more. This script is perfect for cleaning up complex documents, preparing files for production, or implementing consistent styling across your artwork.
ㅤ
Install and Run the Script
- Place the script file in your Adobe Illustrator Scripts folder:
ㅤ
⮑ MacOS: /Applications/Adobe Illustrator <Version>/Presets/<Language>/Scripts
⮑ Windows: C:\Program Files\Adobe\Adobe Illustrator <Version>\Presets\<Language>\Scripts
ㅤ - Restart Adobe Illustrator to load the script into the File > Scripts menu.
- Open your document and go to File > Scripts > Select by Attribute to launch the script.
ㅤ
Use the Script Dialog
When you run the script, an interactive dialog window will appear. Browse through the alphabetically sorted list of categories:
ㅤ



ㅤ
ㅤ
➊ Choose Selection Categories
- Browse through the alphabetically sorted list of categories.
- Click on a category to select it (such as "Paths: With Fill" or "Text: Empty Text Frames").
- Hold Ctrl/Cmd while clicking to select multiple categories.
- Use the search bar at the top of the dialog to quickly find specific categories.
ㅤ
➋ Define Search Scope
Use the "Search in:" dropdown menu to specify where to look for objects:
- Active Document: Search through the entire document.
- Active Selection: Limits the search to the currently selected objects.
- Active Layer: Searches only within the active layer.
- Active Artboard: Searches objects on the currently active artboard.

ㅤ
➌ Run the Selection
- Click "OK" to select all objects matching your criteria.
- The script will display the number of items found.
- Selected objects will be highlighted in your document.
- The view will automatically zoom to fit your selection.
ㅤ
Tips:
- Double-click on any category in the list to instantly select all matching objects using the current scope.
- Press the ⏼ icon to open the User Guide for detailed instructions on using the script.
ㅤ
Additional Notes:
- The script ignores locked or hidden items and layers.
- Large documents with many items may slow down during selection.
- It is highly recommended to save your document, especially complex or large files, before running the script. This ensures that all changes are securely backed up and minimizes the risk of data loss in case of unexpected issues.
ㅤ
➍ Selection Categories Overview
ㅤ
Here’s a list of object attributes/categories you can select:
Path Categories
- Paths: Any: All vector paths that aren't guides or clipping masks.
- Paths: Closed/Open: Shapes with connected/unconnected endpoints.
- Paths: With Fill/Stroke: Objects with color fills or outlines.
- Paths: Without Fill/Stroke: Objects no fills or outlines.
-
Paths: With Dashed/Non-Dashed Stroke: Paths with specific stroke styles.
- Paths: With Butt/Round/Projecting Caps: Paths with specific end cap styles.
- Paths: With Miter/Round/Bevel Joins: Paths with specific corner styles.
ㅤ
Text Categories
- Text: Any Text Frames: All text objects regardless of type.
-
Text: Area Type Objects: Text contained within a defined area.
-
Text: Point Type Objects: Text that flows from a single point.
-
Text: Type On Path: Text that follows the path of a curve.
- Text: Empty Text Frames: Text frames with no content
ㅤ
Color Categories
- Color: CMYK/RGB/Grayscale: Objects using specific color models.
- Color: Global/Spot Color Objects: Objects using spot or global colors.
- Color: Gradient/Pattern Objects: Objects with gradient or pattern fills.
ㅤ
Special Objects
- Compound Paths: Multiple paths combined into a single object.
- Clipping Masks: Paths used to hide portions of other objects.
- Embedded/Linked Rasters: Placed images (embedded or linked).
- Objects Inside/Outside Artboards: Items based on artboard position.
- Opacity: Partially/Fully Transparent: Objects with transparency settings.
- Opacity: Objects With Blending Modes: Objects using non-normal blending.
ㅤ
ㅤ
☻ Wrapping Up
Select by Attribute streamlines your Illustrator workflow by eliminating the tedious task of manually hunting for specific elements in complex documents. With its comprehensive selection categories and intuitive interface, you can instantly locate and select objects based on their attributes, whether you're cleaning up files, preparing artwork for production, or implementing consistent styling.
By saving you countless hours of manual selection work, this script allows you to focus on what truly matters - your creative process.
ㅤ
ㅤ