Clipping Mask Script issues in PS 2025 on Mac Hi all,I've been 'fighting' with scripts to autogenerate about 69K country flag-based NFTs. I got most of it working fine, but the final issue relates to applying a clipping mask to a rectangular flag (to give it rounded corners). The template looks like this (flag of china with a vector mask and effects applied) However, after multiple different attempts, finally settling on clipping mask, the output still looks like this: Here is a summary:Brief Summary of the Attempted Methods to Apply Rounded CornersTo give the new flag (Flag - New) rounded corners with a 150-pixel radius in Adobe Photoshop, we’ve attempted the following approach:Create a Rounded Rectangle Selection: We generate a rounded rectangle selection matching the flag’s dimensions (1650x1100 px) with a 150-pixel corner radius using the executeAction method with the setd command, specifying a roundedRect shape.Fill the Selection to Create a Mask Layer: We create a new layer (Flag Round Mask), set the foreground c