A hacked version of the Object Raster that will do color and scale together.
Hi,
I'm using AICS(11.0.0) on a G5(upgraded) under 10.3.9. I downloaded "Scriptographer 2.0.021 for mac", I tried 'color raster' and it didn't work despite other raster worked very well.
I noticed that debugger wrote this ReferenceError:
"Grayscale" is not defined. at /rasters/color raster.js:46
then, I started a search in this website in case someone has had the same problem and I got this:
http://www.scriptographer.com/Scripts/Interactive+Tools/fiddlehead/comments
where it's said (refered to another .js):
2006-10-29 fix to work with ver.2.0.019 of Scriptographer (Grayscale -> GrayColor)
So I changed Grayscale into GrayColor on 'color raster.js', after that it worked verywell.
I downloaded "object raster with color.js" and is working verywell (after I noticed my user-error on "save file as" and placing an html instead .js in the scripts folder)
by the way, this plugin Rocks as hell! :D
Thanks for reporting this Ricardo..
Although when I change Grayscale to GrayColor and try to run the script I get the following error:
ReferenceError: "raster" is not defined.
at /scripts/rasters/color raster.js:10
When I change the first three lines from:
var raster = null; var dot = null; var sel = null;
to:
var raster; var dot; var sel;
It works.
Can someone verify this?