Could we get an error that's more like "File not found" -- would help with debugging scripts.
Thanks!
To reproduce, the following adds an arbitrary string to the end of the selected file name and tries to open it:
Code: Select all
{
let d = app.browseForDoc();
if (d) {
try {
app.openDoc(d.cPath + "asdf");
} catch (e) {
console.println(JSON.stringify(e,null,1));
}
}
}