Answered
remove copy when I duplicate document
there is a way to
remove copy when I duplicate document?
there is a way to
remove copy when I duplicate document?
@DavideBarranca , please forgive another intrusion; could you chime in on short/efficient UXP-code for this task?
I'd do it like this:
const { app, core } = require("photoshop");
await core.executeAsModal( async () => {
app.activeDocument.duplicate(app.activeDocument.name, true);
}, { commandName: "Duplicate with the same name" });
Which seems exactly what @Ciccillotto is using 👌
The boolean is for merged layers, like in ExtendScript, BTW.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.