diff options
author | Norbert Preining <norbert@preining.info> | 2021-07-02 06:05:34 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-07-02 06:05:34 +0900 |
commit | a11f29f9bea623fc9f9482bc28f566ebd11310e7 (patch) | |
tree | c55831ecab2c782208fa2e3cd530dd63725b4d27 /texmf-dist/doc/latex/acrotex-js/js-files/aeb_pro.js | |
parent | 6b7ef024ba8f7c1560c7347a072db848c3555541 (diff) |
acrotex-js update
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 ) { |