The command “Transform” is not currently available.
I am using JavaScript to script Photoshop.
I am trying to resize an art layer that has text in it. When calling the resize method on the art layer, I get the error:
The command “Transform” is not currently available.
However, if i select the layer manually before running the script, I get no such error.
How can I bypass this error or how can I automatically select the layer to where the program functions properly? Why doesn't transform functions like the resize method just work without manually selecting the layer beforehand?
