![]() |
| |||||||
| Photoshop Scripting Learning and sharing for all platforms |
| | Thread Tools |
|
#1
| |||
| |||
| var solidColorRef = new solidColor() solidColorRef.cmyk.cyan = 20 solidColorRef.cmyk.magenta = 90 solidColorRef.cmyk.yellow = 50 solidColorRef.cmyk.black = 50 foregroundColor = solidColorRef (straight out of the adobe developer PDF for JS scripting for my version of photoshop) I get "solidColor does not have a constructor" as an error message. Any other scripts I copy out of the same PDF run fine-- but anything I use involving solidColor returns the same error message. Can anyone help me with this problem? |
|
#2
| ||||
| ||||
| Re: Very frustrated - SolidColor() property I don't know much about scripting, but here are two very good resources where you can also ask (it never hurts to fish in multiple places): · Adobe.com forums (there’s one specifically for PS Scripting) · http://www.ps-scripts.com I hope this helps... |
|
#3
| |||
| |||
| Re: Very frustrated - SolidColor() property Danny, I did actually fish in multiple places, and managed to get a reply from ps-scripts. In case anyone else is googling the same problem: "var solidColorRef = new solidColor()" should read "var solidColorRef = new SolidColor()" (note the capitalization). This was a typo in the manual, on adobe's part. Hopefully someone will correct it for the next revision. Thanks for your help. |
|
#4
| |||
| |||
| Re: Very frustrated - SolidColor() property Thanks for that. I searched for the error and this thread was the first reference I found. |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New. Help. Please. Frustrated | aswag74 | Image Help | 4 | 05-05-2007 01:59 AM |
| Frustrated...finding work | 1STLITE | Work/Jobs | 7 | 01-14-2007 11:50 AM |
| Frustrated: Can't view filter windows in CS2 | cindyinnc | Photoshop Help | 4 | 12-19-2006 02:17 AM |
| frustrated with new business | jenjen | Work/Jobs | 10 | 12-31-2005 11:16 AM |
| I am SO frustrated.. please any advice? | 1STLITE | Image Help | 10 | 05-19-2004 02:44 PM |