I am trying to set the active document using _id as stated here.
When I try:
const { app, core, action } = require("photoshop");
await app.activeDocument(myDoc._id);
I get:
“TypeError: app.activeDocument is not a function”
How should I select the active document?