Sign in Privacy My Adobe

Illustrator Scripts

Adobe Exchange: The new way to discover and install plug-ins, extensions and content for the Creative Suite. Get it now

Random Select

By AndréBerg February 19, 2009

Rating = 410 votes

Random Select

This script demonstrates an easy way of randomizing the selection of a given number of objects. The user can specify a percentage of up to how many objects should be considerred relative (percent) to the number of objects in the current selection. If nothing is selected prior to calling the script then all page items of the foremost document are set as the initial selection.

v0.3 2009-08-07 My apologies to those experiencing crashes. I and others have tested this script in mixed environments running Mac OS X 10.5.5, Mac OS X 10.5.7, Windows Vista Ultimate SP1 (32-bit), Windows Vista Ultimate (64-bit) and Windows XP. I have also had the chance to test this on a CS3 version on Leopard and Windows. So far I haven't been able to reproduce the crash. If I may ask, if you do experience a crash, could you please state the version of Illustrator and the OS you are running on, and if possible if your version of Illustrator has been modified (by installing plugins etc.). In this new version I have tried to increase the amount of checking for erroneous data, either coming from the user or from the ExtendScript engine itself. This new version also includes German localization if you need it. Thanks to my collegue Ulf S. for showing me that. Starting with version 0.3 development is discontinued for the AppleScript version. Instead the focus will be on improving the ExtendScript version as it is tedious to keep two scripts in sync over distinct scripting languages.


License: Open Source
Language: English
Cost: Free
Platform: Win | Mac
File format: ZIP | 45.8 KB

Additional extension information

Author: AndréBerg
Author website: Not available
Date published: February 19, 2009
Approval: None
Compatible product(s): Illustrator CS4, CS3


1-5 of 12 reviews | Show all reviews

Lorenzo Giovenali 21-Dec-13 Rating = 5

Ok I'm sorry, it does work, but I had to Release to Layers (Select) first..

Lorenzo Giovenali 21-Dec-13 Rating = 1

Oh, I should add I tried both the Apple script and the java script

Lorenzo Giovenali 21-Dec-13 Rating = 1

Doesn't work for me! Either it crashes or does nothing depending on how I am selecting.

Illustrator CS6 on MacBook Air, Mac os 10.9

Is it supposed to work when you are in isolation mode also??

Thanks in advance

will pomroy 28-Mar-12 Rating = 5

Saved me a great deal of time, thankyou

michael wynkoo 15-Feb-12 Rating = 5

This script has saved me SO much time and frustration. Perfect for coloring trees on a ski map

Add a review

(+) Please log in to submit a review