I would like to script a new photoshop layer with circular selection. A function would be nice:
var circleSelection = makeCircleSelection(x,y,radius);
And return it in a selection which I can then place on a new layer:
document.selection.select(circleSelection);
The docs don't have an answer and I only find deprecated answers for this problem.
Thank you very much!