Can't Import Action Script into Adobe Acrobat DC

New Here ,
Sep 20, 2022 Sep 20, 2022

Copy link to clipboard

Copied

I'm having trouble importing a script I have been using into Acrobat previously.  Recently I was given an upgraded computer.  The name is unique and is not the same as any of the scripts already in the listt of scripts available in it Action Tools.

 

Adobe1.png

 

 

The Script is as follows:

---------------------------------------------------------------------------

<</Commands [/c << /0 [/c << /Config [/c << /UIPolicy [/i 3]
>>]
/HandlerName [/a /JavaScript]
/Params [/c << /ScriptCode [/t (this.extractPages\({nStart: 2, nEnd: 3, cPath: this.path.replace\("/.*\\/|\\.pdf$/ig", ""\)+"_propcov"+".pdf"}\);\r\n)]
/ScriptName [/t ()]
>>]
/Title [/t (Execute JavaScript)]
>>]
>>]
/Input [/c << /FileVariation [/i 2]
/SourceFileOptions [/c <<>>]
>>]
/Output [/c << /AddToBaseName [/b false]
/Compatibility [/i 5]
/DontOverwrite [/b false]
/FileVariation [/i 2]
/InsertAfterBaseName [/t ()]
/InsertBeforeBaseName [/t ()]
/OptimizePDF [/b true]
/PDFOptimizerAcroscanQlty [/i 50]
/PDFOptimizerCCmprs [/b true]
/PDFOptimizerCCmprsFmt [/i 1]
/PDFOptimizerCCmprsQlty [/i 2]
/PDFOptimizerCSample [/b true]
/PDFOptimizerCSampleAbove [/i 225]
/PDFOptimizerCSampleAlgo [/i 2]
/PDFOptimizerCSampleRes [/i 150]
/PDFOptimizerCmprsFlate [/b true]
/PDFOptimizerCmprssFile [/i 1]
/PDFOptimizerDoAcroscan [/b false]
/PDFOptimizerFlattenDoc [/b false]
/PDFOptimizerGCmprs [/b true]
/PDFOptimizerGCmprsFmt [/i 1]
/PDFOptimizerGCmprsQlty [/i 2]
/PDFOptimizerGSample [/b true]
/PDFOptimizerGSampleAbove [/i 225]
/PDFOptimizerGSampleAlgo [/i 2]
/PDFOptimizerGSampleRes [/i 150]
/PDFOptimizerLZWToFlate [/b true]
/PDFOptimizerLinearize [/b true]
/PDFOptimizerMCmprs [/b true]
/PDFOptimizerMCmprsFmt [/i 2]
/PDFOptimizerMCmprsQlty [/i 0]
/PDFOptimizerMSample [/b true]
/PDFOptimizerMSampleAbove [/i 450]
/PDFOptimizerMSampleAlgo [/i 2]
/PDFOptimizerMSampleRes [/i 300]
/PDFOptimizerRmComments [/b false]
/PDFOptimizerRmEdge [/b false]
/PDFOptimizerRmExRefs [/b false]
/PDFOptimizerRmFormActions [/b false]
/PDFOptimizerRmImgAlts [/b true]
/PDFOptimizerRmInvLBs [/b true]
/PDFOptimizerRmJSActions [/b false]
/PDFOptimizerRmPieceInfo [/b false]
/PDFOptimizerRmStructure [/b false]
/PDFOptimizerRmThumbnails [/b false]
/PDFOptimizerRmUnusedNDs [/b true]
/RunPDFOptimizer [/b false]
>>]
>>

 

TOPICS
How to , JavaScript

Views

25

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation