Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
2

P: Scripting - error when the text color is black (0,0,0).

LEGEND ,
Sep 04, 2013 Sep 04, 2013

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

Results:
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.

Bug Fixed
TOPICS
macOS , Windows
191
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Jun 21, 2016 Jun 21, 2016
Translate
3 Comments
LEGEND ,
Sep 04, 2013 Sep 04, 2013
Here is a page I found of someone else who ran in to this problem while looking for a solution. I'm using their try/catch solution, but thought the bug should be reported:
http://www.ps-scripts.com/bb/viewtopi...
Translate
Report
Adobe Employee ,
Jun 21, 2016 Jun 21, 2016
This issue should be fixed by the CC 2015.5 upgrade released today: https://blogs.adobe.com/photoshop/2016/06/adobe-releases-major-photoshop-cc-update-today-and-announc...
Translate
Report
LEGEND ,
Apr 27, 2019 Apr 27, 2019
LATEST
This issue still persists in Photoshop CC 2019 on Mac. Please advise
Translate
Report