diff --git a/src/host/AUDT.jsx b/src/host/AUDT.jsx index 3d55685..957d3a2 100644 --- a/src/host/AUDT.jsx +++ b/src/host/AUDT.jsx @@ -27,8 +27,8 @@ function details(){ try{ - if(app.activeDocument && app.activeDocument.reflect.name){ - return app.activeDocument.reflect.name; + if(app.activeDocument && app.activeDocument.displayName){ + return app.activeDocument.displayName; }else{ return "No file."; } @@ -36,8 +36,6 @@ function details(){ }catch(e){ return ""; } - - return app.activeDocument.reflect.name; } diff --git a/src/rpc_client-src/index.js b/src/rpc_client-src/index.js index 12ac8fe..b1361e4 100644 --- a/src/rpc_client-src/index.js +++ b/src/rpc_client-src/index.js @@ -55,6 +55,7 @@ if (csInterface.getApplicationID() === "AEFT") { return; }); if (isDynamicLink) + // TODO: handle dunamic link throw new Error("Started as dynamic link"); }