Photoshop CS6: Color Lookup Layer does not have a layer kind in scripting support

  • 3
  • Problem
  • Updated 1 month ago
  • Solved
  • (Edited)
Photoshop CS6 (windows 64bit)If you create a Color Lookup Layer and use alert(activeDocument.activeLayer.kind); in ESTK, on the selected layer you get an Internal error.In the descriptor for the adjustment layer you get 'colorLookup'.There doesn't seem to be an enumerated value for this type of layer.
Photo of Paul Riggott

Paul Riggott

  • 359 Posts
  • 143 Reply Likes

Posted 6 years ago

  • 3
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 813 Reply Likes
Sounds like scripting support didn't get updated for the new layer type.
Photo of Paul Riggott

Paul Riggott

  • 359 Posts
  • 143 Reply Likes
Seems that this has not been addressed with 5.0.1.21 update.
Photo of r-bin

r-bin

  • 28 Posts
  • 4 Reply Likes
This reply was created from a merged topic originally titled
Photoshop CC 2014: Bug in Scripting.


On photoshops cs6 - cc2104 in any srcipt the string
"app.activeDocument.activeLayer.kind" (the keyword is "kind") causes an error if the layer is a Color Lookup layer.
Fix the bug pls )
Photo of Kukurykus

Kukurykus

  • 315 Posts
  • 46 Reply Likes
I tested it in CC 2018 and it's fixed finally, however I never used it :)