IE6 FIX
Extension of Tutorial 2 that lets you choose a color range to randomly recolor art. Just enter the hsb values for the two colors.
Also, you can choose to change the transparency or use only the active document's swatches.
Unfortunately, pattern swatches and color book swatches (like pantones) won't work. If anyone has any thoughts on how to fix that, let me know because I would love for them to work too.
Works great on large groups of shapes. Have fun!
Also, you can choose to change the transparency or use only the active document's swatches.
Unfortunately, pattern swatches and color book swatches (like pantones) won't work. If anyone has any thoughts on how to fix that, let me know because I would love for them to work too.
Works great on large groups of shapes. Have fun!
IE6 FIX
awesome but need swatches
From: Wes
Date: 29. December 2007, 03:15
From: Wes
Date: 29. December 2007, 03:15
this is an awesome script. these days its all about colors and this achieves it although i find it hard to pick a range from just hsb values, the "use document swatches" idea is good but when i check it and press ok it does only a few of my objects in color and stops abruptly and gives me the following message:
{ red: 1.0, green: 0.9490196, blue: 0.0, alpha: 1.0 }
java.lang.NoSuchMethodException: com.scriptographer.ai.Pattern.<init>(int)
can anyone fix this or know what is going on? thank you, and once again thank you for the script.
{ red: 1.0, green: 0.9490196, blue: 0.0, alpha: 1.0 }
java.lang.NoSuchMethodException: com.scriptographer.ai.Pattern.<init>(int)
can anyone fix this or know what is going on? thank you, and once again thank you for the script.
IE6 FIX
Hi Wes,
I used hsb because it produces better results. hsb more accuratly reflects how people perceive color. Imagine you used white (rgb 255, 255, 255) and black (rgb 0,0,0) as the two colors. If I used rgb to randomly find colors, basically any color could be used. With hsb, the hue and saturation for black (hsb 0,0,0) and white (hsb 0,0,100) are the same, so the brightness is the only value that gets changed. This will produce a range of gray tones, which is probably what you would want.
Anyway, I find it best to choose your colors in what ever way you like (cmyk or rgb) in illustrator's color picker window and write down the hsb values for my script.
As for the error, I was unfortunately unable to make the script use pattern swatches. In order for the script to work, you will need to delete all the pattern swatches from you document. If anyone knows a way to use pattern swatches as well, that would be great.
Ok, hope that fixes your problem,
Keegan
I used hsb because it produces better results. hsb more accuratly reflects how people perceive color. Imagine you used white (rgb 255, 255, 255) and black (rgb 0,0,0) as the two colors. If I used rgb to randomly find colors, basically any color could be used. With hsb, the hue and saturation for black (hsb 0,0,0) and white (hsb 0,0,100) are the same, so the brightness is the only value that gets changed. This will produce a range of gray tones, which is probably what you would want.
Anyway, I find it best to choose your colors in what ever way you like (cmyk or rgb) in illustrator's color picker window and write down the hsb values for my script.
As for the error, I was unfortunately unable to make the script use pattern swatches. In order for the script to work, you will need to delete all the pattern swatches from you document. If anyone knows a way to use pattern swatches as well, that would be great.
Ok, hope that fixes your problem,
Keegan
IE6 FIX
Re: awesome but need swatches
From: tobias
Date: 7. July 2008, 19:46
From: tobias
Date: 7. July 2008, 19:46
hmmm doesn't work for me. No matter how i try I keep getting this error message:
Error 2: Dialog is undefined
Line 24:
-> values=Dialog.prompt("set rando-color range", [
never used scripts before in my life. Do I have to open them with the text editor and enter all the values, or should I be able to do it all from within Illustrator?
thanks for the help
T
Error 2: Dialog is undefined
Line 24:
-> values=Dialog.prompt("set rando-color range", [
never used scripts before in my life. Do I have to open them with the text editor and enter all the values, or should I be able to do it all from within Illustrator?
thanks for the help
T
IE6 FIX
i have a random script i wrote that uses some stuff borrowed from this script..
i've posted it here:
http://www.scriptographer.com/Scripts/General+Scripts/RandomTools/
let me know if it works for you.
thanks.
Ken
i've posted it here:
http://www.scriptographer.com/Scripts/General+Scripts/RandomTools/
let me know if it works for you.
thanks.
Ken
Scripts
21.08.08, 19:19
18.08.08, 20:11
18.08.08, 19:56
23.05.08, 04:41
01.03.08, 14:43
Posts
24.08.08, 18:22
24.08.08, 18:20
24.08.08, 18:03
24.08.08, 18:00
22.08.08, 23:59
Donation