Sg2.9
RandomTools
Recent RSS
Creator:  ken frederick
Date:  21. August 2008, 19:19

here's a palette toolbox of random scripts

this script uses stuff borrowed from keegan's "rando-color.js"
as well as from some other things i had written in processing

  • -----------------------------------------------------

• random delete
slider to randomly delete more or less items

• random stroke weight
boxes to set a min. value and max. value (i.e. random(MIN,MAX) )

• random color (cmyk values or swatches)*
each color slider (C,M,Y,K or R,G,B) can be set to a min. value and max. value (i.e. random(MIN,MAX) )
*as of 0.93 you don't need to have these four "swatches" at the beginning of your palette for random color to work [NONE], Registration, White, Black.
**does not work with global/spot/pantone/etc colors, see below for workaround

• random transparency
boxes to set a min. value and max. value (i.e. random(MIN,MAX) )

• random stacking
randomly change the stacking order of the selected items

CHANGE LOG

  • -----------------------------------------------------

0.8.2

  • updated to scriptographer 2.5 api let me know via email if there are any bugs

0.9.2

  • an update of 0.8.2 that works with scriptographer version 2.7.037
  • adds feature to detect colormode, sliders will be CMYK or RGB respectively (not perfect, but functional)

0.9.3

  • updated interface to scriptographer 2.9.070 api
  • added ability to customize range of random colors
  • optimized code in response to comments posted (see NOTES) http://scriptographer.org/scripts/general-scripts/randomtools/comments
  • global/spot/pantone/etc. swatches cannot be used, until this is addressed by the scriptographer team i suggest this work around http://scriptographer.org/forum/help/accessing-global-color-swatches/

0.9.4

  • added random stacking

NOTES

  • -----------------------------------------------------

i post randomTools, with the caveat that although it's stable for me and i use it quite frequently, i can't guarantee that it won't cause problems or not work for someone else (i'm on a mac 10.5 CS3)

**any day now we're going to upgrade to cs5 at work, as soon as this happens i will be able to test and and update randomTools for it. but as it stands i still currently have no consistent way to test on multiple versions of illustrator (i.e. CS2 or CS4 or CS?) or operating systems (i.e. windows). email is the best way to contact me.

thanks.
Ken

update forthcoming...
From:  ken frederick
Date:  20. July 2010, 17:30

as soon as i get free moment. i will update random tools to the latest api.

Ken

CS 5
From:  Kirk
Date:  14. December 2010, 19:52

I'm using CS5 and it seems that when you're randomizing color, you're swatches cannot be global and they need to be in a group.

Re: CS 5
From:  ken frederick
Date:  1. January 2011, 21:34

i just recently updated randomTools (i.e. overhauled it for use with the latest scriptographer)

please read the change log and notes

Ken

Scripts
26.04.12, 16:05
19.04.12, 16:54
07.04.12, 16:17
05.04.12, 00:49
15.03.12, 13:02
14.02.12, 19:00
Posts
23.05.12, 00:11
22.05.12, 18:50
22.05.12, 03:55
20.05.12, 20:22
19.05.12, 21:38
19.05.12, 13:43
Donation

If you use Scriptographer regularly or for commercial purposes, please consider making a donation via PayPal:

Thank you!