Question
Deleting selection on layer
Hi, all! Using DOM scripting, I'm trying to delete the contents of a selection on the active layer, in the same way I can delete a selection pressing the backspace or delete button on my keyboard, basically punching a hole in the layer, revealing the layer underneath. I've tried using
app.activeDocument.selection.clear();or
app.activeDocument.selection.cut();but nothing gets deleted from the selection. What on earth am I missunderstanding here?
