You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
async function evalScript(text, defs = {}) {
if (!isBrowser) {
let CS_Interface = new CSInterface();
return new Promise((resolve, reject) => {
CS_Interface.evalScript(`${text}`, (res) => {
// For some reason this was returning errors in InDesign alone. No idea why
resolve(isJson(res) ? JSON.parse(res) : res);
// if (res) resolve(isJson(res) ? JSON.parse(res) : res);
// else if (res.length) reject({ error: res });
});
});
} else return defs;
}
But gehenna's dependent library version is still 0.07.
The text was updated successfully, but these errors were encountered:
Will be looking into this very soon -- don't personally script for IDSN very often and just happened to catch this while doing testing for the themes in IDSN I believe. Let me know if you've already solved it on your end too!
In InDesign, the built-in utils do not work.
Panel.vue loadUtils () -- gehenna() failed to load the built-in utils, because of the CSInterface.evalScript return "" in library [email protected]
tested under PS, evalScript return “undefined”, loadUtils() without error.
You've noticed this problem, [email protected]
But gehenna's dependent library version is still 0.07.
The text was updated successfully, but these errors were encountered: