Hey again,
I found docs about the Selection object here https://www.adobe.io/photoshop/uxp/ps_reference/classes/selection/
But how do I retrieve the current selection using the api?
I found code for using batchplay using _property “selection” but this doesn’t give me the selection object I can copy from.