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

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

2 Votes
LEGEND ,
Sep 04, 2013 Sep 04, 2013

Copy link to clipboard

Copied

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

Views

28

Translate

Translate

Report

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

Votes

Translate

Translate
3 Comments
LEGEND ,
Sep 04, 2013 Sep 04, 2013

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Jun 21, 2016 Jun 21, 2016

Copy link to clipboard

Copied

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

Senior Product Manager - Customer Advocacy - Digital Imaging

Votes

Translate

Translate

Report

Report
LEGEND ,
Apr 27, 2019 Apr 27, 2019

Copy link to clipboard

Copied

LATEST
This issue still persists in Photoshop CC 2019 on Mac. Please advise

Votes

Translate

Translate

Report

Report