Photoshop scripting: error when the text color is black (0,0,0).

  • 2
  • Problem
  • Updated 10 months ago
  • Solved
  • (Edited)
Steps to reproduce:
1. Create a photoshop file with a text layer
2. Set the text to black (0,0,0)
2. Create a script to access the text layer like so: layer.textItem.color

Error 8800: General Photoshop error occurred

Expected Results:
The property returns a SolidColor object with RBG set to (0,0,0)

NOTE: This only occurs if the text is completely black. If it's any other color, it works as desired.
Photo of Brian Dean Jennings

Brian Dean Jennings

  • 2 Posts
  • 0 Reply Likes

Posted 6 years ago

  • 2
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 16502 Posts
  • 2651 Reply Likes
Official Response