diff options
Diffstat (limited to 'texmf-dist/doc/latex/acrotex-js/js-files/aeb_pro.js')
-rw-r--r-- | texmf-dist/doc/latex/acrotex-js/js-files/aeb_pro.js | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/texmf-dist/doc/latex/acrotex-js/js-files/aeb_pro.js b/texmf-dist/doc/latex/acrotex-js/js-files/aeb_pro.js index 5dbfe4d5..24fbcdaf 100644 --- a/texmf-dist/doc/latex/acrotex-js/js-files/aeb_pro.js +++ b/texmf-dist/doc/latex/acrotex-js/js-files/aeb_pro.js @@ -5,8 +5,9 @@ D. P. Story http://www.acrotex.net - Version 1.6.1 + Version 1.6.2 + v1.6.2 Modified aebDocSaveAs for thorshammer v1.6.1 aebCreateTemplate now returns an object v1.6 Added aebAddWatermarkFromText, aebLaunchURL v1.5 Added aebCertifyInvisibleSign @@ -76,16 +77,18 @@ aebSaveAs = app.trustPropagatorFunction( function ( oArgs, doc ) app.execMenuItem("Save"); app.endPriv(); }); +// Version 1.7.2 aebDocSaveAs = app.trustPropagatorFunction( function ( oArgs, doc ) { var Msg=function(e){return (aebDocSaveAs.msg==undefined)?("Doc SaveAs Error: " + e.toString()):aebDocSaveAs.msg;} + var Action=function(){return ((aebDocSaveAs.action==undefined)?null:eval(aebDocSaveAs.action));} app.beginPriv(); try { - return doc.saveAs(oArgs); - } catch(e){console.println(Msg(e));} + return retn = doc.saveAs(oArgs); + } catch(e){console.println(Msg(e));Action();} app.endPriv(); aebDocSaveAs.msg=undefined; - + aebDocSaveAs.action=undefined; }); aebExtractPages = app.trustPropagatorFunction( function ( oArgs, doc ) { |