Random Objects Selector
Script for Adobe Illustrator
ㅤ
Functionality
The Random Objects Selector is an Adobe Illustrator script that allows users to randomly select a specified percentage of objects from an active document, selection, artboard, or layer. This tool is useful for designers who need to apply random styles, transformations, or variations to their artwork. The script provides a user-friendly interface with adjustable parameters, including percentage-based selection, scope options, and an option to include individual objects inside groups.
ㅤ



ㅤ
Installation
- Place the script in your 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 > Random Objects Selector to launch the script.
- When the script runs, a dialog window will appear with several settings:

ㅤ
➊ Set the Selection Percentage
ㅤ
- Use the slider to define what percentage of available objects should be randomly selected.
- Alternatively, type a value directly into the input box (between 0% and 100%).
- Use the up/down arrow keys to adjust the value manually.
For example, if a document contains 200 objects and the user selects 25%, the script will randomly choose 50 objects.
ㅤ
ㅤ
➋ Choose the Scope of Selection
ㅤ
Choose from the dropdown menu:
- Active Document: Selects from all objects in the document.
- Active Selection: Selects from only currently selected objects.
- Active Artboard: Selects objects within the active artboard.
- Active Layer: Selects objects only within the active layer.

➌ Include Items Within Groups
ㅤ
By default, the script treats groups as a single entity when making selections. This checkbox allows users to override this behavior:
- Checked: The script will look inside groups and select individual items within them.
- Unchecked: The script will treat groups as single objects and won’t select individual elements inside them.
ㅤ
ㅤ
➍ Start the Random Selection
ㅤ
- Click OK button to initiate the random selection.
- A progress bar will update as objects are selected.
- After completion, a message will confirm how many objects were selected.
- Once the selection is made, Illustrator will automatically zoom and center the selected objects on your screen for easier visibility.

➎ Additional Functionality
ㅤ
Open User Guide
- Clicking the ⏼ Open User Guide button opens a web page with detailed documentation about the script.
ㅤ
Cancel Button
- Click Cancel to close the dialog and exit the script without making any selections.
Additional Notes
- Please note! The script will only select visible and unlocked objects.
- For complex documents, it's recommended to save your work before running the script!
ㅤ
ㅤ
The Random Objects Selector script for Adobe Illustrator is a powerful yet user-friendly tool designed to streamline the selection process by randomly choosing objects based on percentage, scope, and grouping preferences.
Whether you’re applying random transformations, color variations, or experimenting with layouts, this script makes selection tasks fast, easy, and precise.
ㅤ
ㅤ