Is there a way to get the selection bounds in UXP through the DOM, or if not then maybe through batchPlay?
I’m basically looking to replicate app.activeDocument.selection.bounds from extendscript. I just want to get get the bounds for [left,top,right,bottom] in pixel values for the current selection.
I don’t see anything in the documentation for this in the new UXP DOM. However, not sure if there is more capability than what has been documented. Also, is there a timeline for when more DOM features are going to be added?
I’m guessing there may be away to do this through batchPlay??? I’m starting to become comfortable with using batchPlay to command Photoshop to do stuff. However, to get feedback from Photoshop, it is still very confusing to me. I think that I need a “batchPlay for Dummies” handbook