@sttk3 actually, that still returns the same error. I’ve tried different files in various locations on the filesystem and always the same ![]()
Is there something else I’ve missed?
const lfs = require("uxp").storage.localFileSystem;
const doc = app.activeDocument;
const folderPath = path.dirname(doc.path);
console.log("raw path", doc.path);
console.log("path", folderPath);
const entry = await lfs.getEntryWithUrl(folderPath);
console.log(entry);
My manifest:
{
...,
"requiredPermissions": {
"localFileSystem": "fullAccess"
}
}
