Question
How to copy and paste selections in UXP / Photoshop scripts
Hi! I am trying to write a script in photoshop to repeatedly select, copy, and paste parts of the image. Through a few online resources (1, 2), I’ve managed to figure out how to write competent enough code in Visual Studio Code that will make a selection, but cannot figure out the javascript language to copy the selection and paste in a particular location on the image. Can anyone help? Thank you!
