Skip to main content
alexjr21
Participant
June 14, 2026
Question

How to copy and paste selections in UXP / Photoshop scripts

  • June 14, 2026
  • 0 replies
  • 4 views

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!