TL;DR - I want to use code to define a custom pattern from selection in Photoshop using scripting (Extendscript). Here is the code I have so far: (function
I am a bit stuck. I have created a script for Photoshop that opens a PSD file containing a few layers plus a linked one, sort of a template. So far, I got thing