Select by Blending Mode

Select by Blending Mode

Script for Adobe Illustrator

Functionality:

Select by Blending Mode is a powerful script designed to streamline object selection in Adobe Illustrator based on their blending modes. It offers granular control over the selection process, allowing users to:

  • Select by specific blending mode (e.g., Multiply, Screen, Overlay).
  • Select all matching or non-matching objects based on the chosen blending mode.
  • Define the selection scope (Active Document, Active Layer, Active Artboard, Active Selection).
  • Skip group items with matching blending modes.
  • Automatically locate selected items on the canvas.

Whether you’re working on a detailed project or performing a quick cleanup, this script saves time and minimizes manual effort, making it easier to refine 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 Blending Mode to launch the script.

Configuring Selection Criteria

Once the script is executed, a dialog box will appear.

➊ Matching Type

“Select all:” dropdown menu allows users to configure the matching behavior of the selection process.
It provides two primary options:

1. Matching Items:

  • When selected, the script will target and select all objects in the specified scope that match the chosen blending mode.
  • Example: If “Overlay” is selected in the blending mode dropdown, all objects with the blending mode “Overlay” will be selected.

2. Non-Matching Items:

  • When selected, the script will target and select all objects in the specified scope that do not match the chosen blending mode.
  • Example: If “Overlay” is selected in the blending mode dropdown, all objects with any blending mode other than “Overlay” will be selected.

Additional Notes:

  • The dropdown enables flexibility by allowing users to isolate objects based on their blending mode or focus on those that deviate from a specified blending mode, depending on the project needs.
  • It works in conjunction with other settings such as blending mode, search scope, and group handling to refine the selection criteria further.

 


➋ Blending Mode

“Blending” dropdown menu allows users to specify the blending mode to target during the selection process. This dropdown lists all blending modes available in Adobe Illustrator, enabling users to refine their selection based on visual effects applied to objects.

When a blending mode is selected, the script identifies objects in the defined scope (e.g., document, layer) that match this blending mode.

Available Blending Modes:

Normal: No blending effect applied.

Darken: Selects the darker color between the object and background.

Multiply: Multiplies the base color by the blend color, resulting in a darker effect.

Color Burn: Increases contrast by darkening the base color.

Lighten: Selects the lighter color between the object and background.

Screen: Combines colors to create a lighter, brighter result.

Color Dodge: Brightens the base color to reflect the blend color.

Overlay: Combines Multiply and Screen effects for increased contrast.

Soft Light: Applies a subtle lighting effect.

Hard Light: Applies a more intense lighting effect.

Difference: Subtracts the blend color from the base color.

Exclusion: Similar to Difference but with a lower contrast.

Hue, Saturation, Color, Luminosity: Adjusts objects based on specific color properties.

Use Case Example:

If you want to identify all objects using the Overlay blending mode in the active layer, select “Overlay” from this dropdown and configure the other options as needed. The script will then find and select those objects for easy editing or review.


➌ Selection Scope

“Search in” dropdown menu allows users to define the scope within the Illustrator document where the selection process should be applied. It provides flexibility by letting users limit or expand the selection area based on their project needs.

1. Active Document:

  • Searches through all unlocked and visible objects across the entire document.
  • Useful for global operations when no specific layers or areas are targeted.

2. Active Selection:

  • Searches only within the currently selected objects in the document.
  • Ideal for refining selections or focusing on a pre-selected subset of objects.

3. Active Layer:

  • Restricts the search to objects on the currently active layer.
  • Great for layer-specific operations, ensuring no other parts of the document are affected.

4. Active Artboard:

  • Limits the search to the objects within the currently active artboard.
  • Useful when working on multi-artboard documents to isolate specific areas.

How It Works:

  • The script evaluates the chosen scope and selects objects that match the specified blending mode (or non-matching, depending on the first dropdown).
  • It ensures that only visible and unlocked objects within the defined scope are processed.

Use Case Example:

If you need to find all objects with the Multiply blending mode on the active artboard, set the blending mode to “Multiply” ("Blending:" dropdown), choose “Active Artboard” ("Select In:" dropdown), and run the script. It will only process objects within the current artboard, leaving the rest of the document untouched.


➍ 'Skip Groups' Checkbox

The “Skip Groups” checkbox refines the selection process by instructing the script to ignore groups with the matching blending mode, ensuring that only individual objects, whether inside or outside groups, are evaluated and selected.

Key Behavior:

1. Checkbox Unchecked:

  • The script processes both individual objects and groups.
  • If a group matches the specified blending mode, the entire group (along with its contents) is selected.

2. Checkbox Checked:

  • The script skips over groups that match the specified blending mode, focusing only on individual objects.
  • Objects inside groups are still evaluated and can be selected if they independently match the criteria.

How It Works:

  • If enabled, groups with the matching blending mode are ignored entirely, leaving only individual objects in the selection.
  • The script drills down into group contents, allowing it to evaluate and select individual objects that meet the criteria, even if the parent group is skipped.

Use Case Example:

If your document contains grouped objects with a blending mode of Overlay, and you want to avoid selecting those groups but still select standalone or nested items with the same blending mode:

  1. Enable “Skip Groups” checkbox.
  2. Configure the blending mode to “Overlay” and other selection parameters as needed.
  3. Run the script. The groups will be ignored, while matching individual objects outside or within groups will be selected.


➎ Functionality of the Buttons

 OK Button:

Executes the selection process based on the user-configured parameters in the dialog box.

Cancel Button:

Closes the dialog box without performing any action.

Open Guide:

Opens a help resource for further assistance.


☻ Wrap-Up

The Select by Blending Mode script is a versatile and user-friendly tool designed to simplify the process of selecting objects in Adobe Illustrator based on blending modes. By providing customizable options for blending mode, search scope, and match type, this script empowers designers to efficiently manage complex artwork and streamline their workflows.

Whether you’re fine-tuning a detailed composition or performing a quick cleanup, this tool saves time and reduces manual effort, allowing you to focus on creativity.

Leave a comment

Select by Blending Mode

Version: 1.0.1

Updated:

  • 1.0.0 – Public Beta release.
    1.0.1 – Minor UI improvements.

    Tested on MacOS:

    • Adobe Illustrator 2023 (27.0)
    • Adobe Illustrator 2024 (28.1)
    • Adobe Illustrator 2025 (29.0.1)
  • Supported Versions:

    • Compatible with Adobe Illustrator CS6 and later, including Adobe Illustrator CC versions.

    Operating Systems:

    • Works on both macOS and Windows platforms.
  • End User License Agreement (EULA)

    Last Updated: 21.12.2024

    This End User License Agreement (“Agreement”) is a legal agreement between you (“User” or “Licensee”) and Samolevsky.com (“Licensor”) regarding the use of the Adobe Illustrator scripts (“Software”). By downloading, installing, or using the Software, you agree to be bound by the terms of this Agreement.

    1. Grant of License

    Licensor grants the User a non-exclusive, non-transferable, and revocable license to use the Software in accordance with this Agreement.

    • Free Software: If the Software is provided for free, you may use it for personal or commercial purposes without payment, subject to the restrictions outlined in this Agreement.
    • Paid Software: If the Software is provided for a fee, you may use it only after payment has been made in full.

    2. Usage Rights

    You are permitted to:

    • Install and use the Software on devices you own or control.
    • Use the Software in your personal or commercial projects, subject to compliance with this Agreement.

    3. Restrictions

    You may NOT:

    • Reverse engineer, decompile, or otherwise attempt to discover the source code, underlying ideas, or algorithms of the Software.
    • Reuse, incorporate, or integrate any portion of the Software into any other software, product, or project, except as expressly permitted by the Licensor in writing.
    • Resell, redistribute, or share the Software, whether in its original or modified form, without prior written consent from the Licensor.
    • Claim ownership of the Software or its underlying code.
    • Use the Software in any way that violates applicable laws or regulations.

    4. Ownership

    The Software and all intellectual property rights therein remain the exclusive property of the Licensor. This Agreement does not transfer ownership of the Software or any intellectual property rights to the User.

    5. Disclaimer of Warranties

    THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE LICENSOR BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

    6. Limitation of Liability

    To the maximum extent permitted by law, Licensor shall not be liable for any damages, including but not limited to direct, indirect, incidental, special, or consequential damages, arising out of or related to the use or inability to use the Software.

    7. Termination

    This Agreement is effective until terminated. Licensor may terminate this Agreement immediately if you breach any term of this Agreement. Upon termination, you must cease all use of the Software and destroy any copies in your possession.

    8. Updates and Support

    Licensor is not obligated to provide updates, support, or maintenance for the Software. However, updates may be provided at the sole discretion of the Licensor.

    9. Governing Law

    This Agreement shall be governed by and construed in accordance with the laws of the State of New York, without regard to its conflict of law principles.

    10. Entire Agreement

    This Agreement constitutes the entire agreement between you and the Licensor concerning the Software and supersedes all prior or contemporaneous understandings regarding such subject matter.

    By using the Software, you acknowledge that you have read this Agreement, understand it, and agree to be bound by its terms.

    For any questions or concerns regarding this Agreement, please contact us at hello@samolevsky.com

Required Software

Adobe Illustrator

Adobe Illustrator is a professional vector graphics software developed by Adobe Inc. It is widely used by designers, illustrators, and artists for creating a variety of digital artwork, including logos, icons, illustrations, typography, and complex design layouts. Illustrator is known for its precision and scalability, allowing users to create high-quality graphics that can be resized without losing clarity. Its features include powerful drawing tools, customizable brushes, advanced typography options, and seamless integration with other Adobe Creative Cloud applications. Illustrator is a go-to tool for creative professionals working on projects for print, web, and multimedia platforms.

  • 🅰 Locating the Scripts Folder

    To install a Select by Blending Mode.jsx script in Adobe Illustrator, you need to place it in the correct directory where Illustrator
can recognize it. Follow these steps to locate the Scripts folder:

    1. MacOS:
      Open Finder and navigate to:
      Applications/Adobe Illustrator <Version>/Presets/<Language>/Scripts
    2. Windows:
      Open File Explorer and navigate to:
      C:\Program Files\Adobe\Adobe Illustrator <Version>\Presets\<Language>\Scripts
    3. Replace <Version> with your Adobe Illustrator version (e.g., 2025).
    4. Replace <Language> with your language folder (e.g., "de_DE" for German, "en_US" for English).

    🅱 Installing the Script

    1. Copy the Script File: Copy the Select by Blending Mode.jsx file to the Scripts folder located in the path above.
    2. On some systems, you may need administrator permissions to modify the Scripts folder.
    3. Restart Adobe IllustratorTo refresh the scripts menu, close and reopen Adobe Illustrator.

    Explore our complete guide to mastering Adobe Illustrator scripts.

    1. Open Adobe Illustrator and ensure a document is active.
    2. Go to the top menu bar and select File > Scripts.
    3. If the script is installed in the Scripts folder, it will appear in the dropdown list.
    4. Click the Select by Blending Mode script to run it.
    5. The Select by Blending Mode script will execute, and any dialog boxes or results will appear based on the script’s functionality.

    ☻ Before running any scripts, it’s strongly advised to save your work — especially when working with complex or large documents.

Got questions?

Need help or have an idea to share? We’d love to hear from you! Whether you have questions, found a bug, have a feature request, or just want to share your feedback, reach out to us—we’re here for you! 

Browse More Scripts

  1. Read more: Bento Grid Generator
    Bento Grid Generator

    Bento Grid Generator

    The Bento Grid Generator is a powerful script for Adobe Illustrator that allows designers to quickly create beautiful, customizable grid layouts inspired by the "bento box" style design pattern.

    Read more
  2. Read more: QR Code Generator
    QR Code Generator

    QR Code Generator

    QR Code Generator is a lightweight, time-saving script for Adobe Illustrator that lets you instantly generate scalable vector QR codes directly within your document. Perfect for designers working on packaging, print, branding, or web assets, this script eliminates the need to rely on third-party websites or tools.

    Read more
  3. Read more: Calculator
    Calculator

    Calculator

    This script creates a calculator panel within Adobe Illustrator, providing a convenient way to perform calculations without leaving the application.

    Read more