photoshop-python-api
photoshop-python-api copied to clipboard
How can I create a psd with layer mask?
How can I create a psd with layer mask? I could create a psd, or I could create a layer, but I couldn't find how to create a psd with layer mask. @loonghao
This is probably something you'll have to do with action descriptors, I don't see the ability to create a layer mask in the latest javascript scripting reference. I would use the ScriptListener, add a layer mask to a layer, then check the scriptlistener log to find the correct actiondescriptor code