Copy link to clipboard
Copied
So I'm trying to create a plugin in Photoshop using UXP developer tools.
What I'm trying to achieve:
When i click "Play Action", i want the photoshop to play the commands "command + j" and then "option + [". Command j performs duplication of the active layer, option j performs selection of backward layer.
I can do it manually but it's tiring to work on multiple documents by doing it manually.
If it's possible,
I would rather want the script to do
Constantly check for active selection > if there is an active selection > perform the above mentioned commands.
Please check the attached document.
Copy link to clipboard
Copied
Try recording it as an action and then saving the batchplay result.
Copy link to clipboard
Copied
Im sorry if this dumb, im using Ai to create this. the interface is greate but when executing the action, nothing happends.
"
Find more inspiration, events, and resources on the new Adobe Community
Explore Now