Hello,
I am trying to create function that would open document without dialog, directly from path which will be given as argument.
Can anyone advise why this doesn’t work?
async function openFile(psd_path){
const app = require('photoshop').app;
try {
console.log(psd_path)
await app.open(`${psd_path}`);
} catch (error) {
console.error('Error:', error);
throw error;
}
}