Determine if selection is present – Photoshop
Is there a (better) way to determine if a selection is present in a layer in Photoshop without having using a try/catch on the selection.bounds? try { var sel = app.activeDocument.selection.bounds; } catch(e) { var sel = undefined; alert("No selection");…