PHOTOSHOP - improve scripting support for assessing smart object properties

  • 7
  • Idea
  • Updated 12 months ago
  • (Edited)
Smart Objects were a remarkably beneficial new feature in Photoshop CS2 and their functionality has been considerably improved since.

But ... Scripting support seems fairly poorly implemented.
Properties like transformation values, modified status, LayerComps, ... seem to be basically invisible to Scripting so far and require either time-intensive work-arounds or are in-evaluable altogether.

I apologise if I should have overlooked existing Feature Requests for better Scripting support for Smart Objects but in any case I think it would be a worthy improvement to Photoshop.
Photo of christoph pfaffenbichler

christoph pfaffenbichler, Champion

  • 1239 Posts
  • 181 Reply Likes

Posted 4 years ago

  • 7
Photo of Javier Aroche

Javier Aroche

  • 2 Posts
  • 0 Reply Likes

These values are necessary for small and large validation workflows. Work arounds are never exact due to Photoshop's rounding issues. We need the user's input to be exposed in the API, or in the layer's action descriptor.
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 834 Posts
  • 201 Reply Likes
Some of these propeties are now visible from action manager code.
We all already know it. So I write this comment for another readers.

And with Generator plugin you can get some smart object properties and layer properties inside SO in JSON format without opening SO.
Photo of Extrem Raym

Extrem Raym

  • 2 Posts
  • 0 Reply Likes
@Jaroslav Bereza
Hi, Do you have any code snippet to share to get the X/Y coordinates of a smart layer transform box ? Thanks !

EDIT: r-bin is assisting me on the Adobe Forum :P