8 Replies Latest reply on Feb 13, 2017 12:56 AM by Test Screen Name

    Action item does not work

    JeffBPaarsa Level 1

      Hello,

       

      I have an academic Acrobat Pro DC... My action Item works the first time I set it up but the second time I go to run it, it gives and error stating that has been built by an old version... I tried to even import it but does not work... I am attaching all the screen shot I have obtained bellow... What could be wrong?

       

      Regards,

      Jeff P.Untitled.png

        • 1. Re: Action item does not work
          George_Johnson MVP & Adobe Community Professional

          It's not clear to me from your description whether you created the action with Acrobat DC or an earlier version. Can you clarify?

          • 2. Re: Action item does not work
            JeffBPaarsa Level 1

            Hi,

             

            Off course in DC.... each time I want to run this Action I have to remove it first then rebuild it all over again...

            Regards,

            Jeff P.

            • 3. Re: Action item does not work
              JeffBPaarsa Level 1

              I am under impression this is a bug in DC... I have even removed it and reboot the system and rebuild it under the DC... After saving it, and I run it for the first time, no problem... but second time or next day... I get the attached dialogue error.

              Regards,

              Jeff P.

              • 4. Re: Action item does not work
                Karl Heinz Kremer Adobe Community Professional

                This may well be a bug. Would you be able to share your

                Action, or at least describe what it does?

                • 5. Re: Action item does not work
                  JeffBPaarsa Level 1

                  Hello,

                   

                  Off course no problem... I will also attach the Action if I can... Here is the sequence of events.2.

                  1. Select a Folder "all the files in that folder".

                  2. Do OCR on each file.

                  3. Optimize the file.

                  4. Save the file in the same Folder that it came from / Replacing the Original file.

                  5. Run a Plug-in called Search and Save developed by EverMap.

                   

                  Does not matter even though if I do not run the last step only the first 4 steps it happens with the same error dialog so it can not be blamed at Plug-in written by EverMap.

                  Regards,

                  Jeff P.

                   

                  Seems like it only accepts image not any other file type...  Not sure if the text in the file would worth any for you... any how I include it.

                  <?xml version="1.0" encoding="UTF-8"?>

                  <Workflow xmlns="http://ns.adobe.com/acrobat/workflow/2012" title="ProcFax" description="" majorVersion="1" minorVersion="0">

                  <Sources>

                  <Folder path="/C/Dropbox/FaxedPDF"/>

                  </Sources>

                  <Group label="Untitled">

                  <Command name="EVMP_AutoDocSearchAndCopyCommand" pauseBefore="false" promptUser="false">

                  <Items>

                  <Items name="0">

                  <Item name="ActionCode" type="text" value="this.addWatermarkFromText({  cText: &apos;Demographic&apos;,  nFontSize: 10,  aColor: color.red,  nStart: 0, nEnd:  this.numPages - 1,  nTextAlign: app.constants.align.left,  nHorizAlign: app.constants.align.right,  nVertAlign: app.constants.align.bottom,  nHorizValue: -460,  nVertValue: 10  });&#xD;try&#xD;{&#xD;    if (this.numPages &gt; 2)&#xD;    {&#xD;    var outputFolder = &quot;/C/Dropbox/Processed/ZDrReview/PtChart/&quot;;&#xD;    this.saveAs(outputFolder + this.documentFileName.split(&apos;.&apos;)[0] + &quot;(Demographic).pdf&quot;);&#xD;    }&#xD;    else&#xD;    {&#xD;    var outputFolder = &quot;/C/Dropbox/Processed/ZDrReview/PtChart/&quot;;&#xD;    this.saveAs(outputFolder + this.documentFileName.split(&apos;.&apos;)[0] + &quot;(Demographic).pdf&quot;);&#xD;    }&#xD;}&#xD;catch(e)&#xD;{&#xD;    app.alert(e);&#xD;}&#xD;"/>

                  <Items name="Area">

                  <Item name="Bottom" type="double" value="0.000000"/>

                  <Item name="Left" type="double" value="0.000000"/>

                  <Item name="Right" type="double" value="0.000000"/>

                  <Item name="Top" type="double" value="0.000000"/>

                  </Items>

                  <Item name="CopyFile" type="boolean" value="false"/>

                  <Item name="CopyFolder" type="text" value="C:\Dropbox\Processed\ZDrReview\PtChart\"/>

                  <Item name="CountLineEnds" type="boolean" value="false"/>

                  <Item name="Description" type="text" value="Demographic"/>

                  <Item name="ExecuteCode" type="boolean" value="true"/>

                  <Items name="FontFilter">

                  <Item name="FontName" type="text" value=""/>

                  <Item name="FontSize" type="double" value="10.000000"/>

                  <Item name="FontSizeTolerance" type="double" value="0.500000"/>

                  <Item name="MatchFontName" type="boolean" value="false"/>

                  <Item name="MatchFontSize" type="boolean" value="false"/>

                  </Items>

                  <Item name="MatchCase" type="boolean" value="false"/>

                  <Items name="PageRange">

                  <Item name="FirstPage" type="integer" value="0"/>

                  <Item name="FirstPageExpression" type="text" value=""/>

                  <Item name="LastPage" type="integer" value="-1"/>

                  <Item name="LastPageExpression" type="text" value=""/>

                  <Item name="PageSelection" type="integer" value="0"/>

                  <Item name="PageSubset" type="integer" value="0"/>

                  </Items>

                  <Item name="Prefix" type="text" value=""/>

                  <Item name="RegExp" type="text" value="(As a primary care physician I can take care of your entire|Patient Questioner)"/>

                  <Item name="StopSearchOnMatch" type="boolean" value="true"/>

                  <Item name="Suffix" type="text" value="(Demographic)"/>

                  <Item name="UseArea" type="boolean" value="false"/>

                  <Item name="UserData" type="integer" value="0"/>

                  <Item name="WholeWords" type="boolean" value="false"/>

                  <Item name="m_bUseRegExp" type="boolean" value="true"/>

                  </Items>

                  <Items name="1">

                  <Item name="ActionCode" type="text" value="this.addWatermarkFromText({  cText: &apos;Action&apos;,  nFontSize: 10,  aColor: color.red,  nStart: 0, nEnd:  this.numPages - 1,  nTextAlign: app.constants.align.left,  nHorizAlign: app.constants.align.right,  nVertAlign: app.constants.align.bottom,  nHorizValue: -460,  nVertValue: 10  }); &#xD;try&#xD;{&#xD;    if (this.numPages &gt; 2)&#xD;    {&#xD;    var outputFolder = &quot;/C/Dropbox/Processed/ZDrReview/Action/&quot;;&#xD;    this.saveAs(outputFolder + this.documentFileName.split(&apos;.&apos;)[0] + &quot;(Action).pdf&quot;);&#xD;    }&#xD;    else&#xD;    {&#xD;    var outputFolder = &quot;/C/Dropbox/Processed/ZDrReview/Action/&quot;;&#xD;    this.saveAs(outputFolder + this.documentFileName.split(&apos;.&apos;)[0] + &quot;(Action).pdf&quot;);&#xD;    }&#xD;}&#xD;catch(e)&#xD;{&#xD;    app.alert(e);&#xD;}&#xD;"/>

                  <Items name="Area">

                  <Item name="Bottom" type="double" value="0.000000"/>

                  <Item name="Left" type="double" value="0.000000"/>

                  <Item name="Right" type="double" value="0.000000"/>

                  <Item name="Top" type="double" value="0.000000"/>

                  </Items>

                  <Item name="CopyFile" type="boolean" value="false"/>

                  <Item name="CopyFolder" type="text" value="C:\Dropbox\Processed\ZDrReview\Action\"/>

                  <Item name="CountLineEnds" type="boolean" value="false"/>

                  <Item name="Description" type="text" value="Action Items"/>

                  <Item name="ExecuteCode" type="boolean" value="true"/>

                  <Items name="FontFilter">

                  <Item name="FontName" type="text" value=""/>

                  <Item name="FontSize" type="double" value="10.000000"/>

                  <Item name="FontSizeTolerance" type="double" value="0.500000"/>

                  <Item name="MatchFontName" type="boolean" value="false"/>

                  <Item name="MatchFontSize" type="boolean" value="false"/>

                  </Items>

                  <Item name="MatchCase" type="boolean" value="false"/>

                  <Items name="PageRange">

                  <Item name="FirstPage" type="integer" value="0"/>

                  <Item name="FirstPageExpression" type="text" value=""/>

                  <Item name="LastPage" type="integer" value="-1"/>

                  <Item name="LastPageExpression" type="text" value=""/>

                  <Item name="PageSelection" type="integer" value="0"/>

                  <Item name="PageSubset" type="integer" value="0"/>

                  </Items>

                  <Item name="Prefix" type="text" value=""/>

                  <Item name="RegExp" type="text" value="(HEDIS|HEDIS Measurement|CalOptima OCC Initial Care Plan|CalOptima SPD Initial Care Plan|HRA Generated Care Domains|HRA Prescription Medication Review|Quality Improvement Department|Request For Additional|Request For Billing|Department Of Social Services|About Your Treatment Request|Discharge Summary|Pt Preop Request|Fax Patient Charts|Fax Medical Records|Medical Record Release Form|Immediate Action Is Required|Important Request For Information|Medical Record Request|Medical Records Request|Medical Records|Medical Records Department|Medical Records Requested|Request For Additional Information|Request For Information|Request For Medical Records|Request For Records|Urgent Requests For Medical Records|We Are Requesting Copy Of Doctor&apos;s Notes|Gaps in Care Report|What is needed to meet the measure|Initial Care Plan (ICP)|Preauthorization For Outpatient Services|Preauthorization For Outpatient Services Facsimile Transmittal|New Patients within|Release of patient information|Request For Medical Information|Records Request|Request For Release Of Medical Records|Home Health Services| sign ICT invitation and fax back|please provide the supporting information requested|Coding Reference Guide )"/>

                  <Item name="StopSearchOnMatch" type="boolean" value="true"/>

                  <Item name="Suffix" type="text" value="(Action)"/>

                  <Item name="UseArea" type="boolean" value="false"/>

                  <Item name="UserData" type="integer" value="0"/>

                  <Item name="WholeWords" type="boolean" value="false"/>

                  <Item name="m_bUseRegExp" type="boolean" value="true"/>

                  </Items>

                  <Items name="2">

                  <Item name="ActionCode" type="text" value="this.addWatermarkFromText({  cText: &apos;Assessment&apos;,  nFontSize: 10,  aColor: color.red,  nStart: 0, nEnd:  this.numPages - 1,  nTextAlign: app.constants.align.left,  nHorizAlign: app.constants.align.right,  nVertAlign: app.constants.align.bottom,  nHorizValue: -460,  nVertValue: 10  }); &#xD;try&#xD;{&#xD;    if (this.numPages &gt; 2)&#xD;    {&#xD;    var outputFolder = &quot;/C/Dropbox/Processed/ZDrReview/PtChart/&quot;;&#xD;    this.saveAs(outputFolder + this.documentFileName.split(&apos;.&apos;)[0] + &quot;(Assessment).pdf&quot;);&#xD;    }&#xD;    else&#xD;    {&#xD;    var outputFolder = &quot;/C/Dropbox/Processed/ZDrReview/PtChart/&quot;;&#xD;    this.saveAs(outputFolder + this.documentFileName.split(&apos;.&apos;)[0] + &quot;(Assessment).pdf&quot;);&#xD;    }&#xD;}&#xD;catch(e)&#xD;{&#xD;    app.alert(e);&#xD;}&#xD;&#xD;"/>

                  <Items name="Area">

                  <Item name="Bottom" type="double" value="0.000000"/>

                  <Item name="Left" type="double" value="0.000000"/>

                  <Item name="Right" type="double" value="0.000000"/>

                  <Item name="Top" type="double" value="0.000000"/>

                  </Items>

                  <Item name="CopyFile" type="boolean" value="false"/>

                  <Item name="CopyFolder" type="text" value="C:\Dropbox\Processed\ZDrReview\PtChart\"/>

                  <Item name="CountLineEnds" type="boolean" value="false"/>

                  <Item name="Description" type="text" value="Assessment"/>

                  <Item name="ExecuteCode" type="boolean" value="true"/>

                  <Items name="FontFilter">

                  <Item name="FontName" type="text" value=""/>

                  <Item name="FontSize" type="double" value="10.000000"/>

                  <Item name="FontSizeTolerance" type="double" value="0.500000"/>

                  <Item name="MatchFontName" type="boolean" value="false"/>

                  <Item name="MatchFontSize" type="boolean" value="false"/>

                  </Items>

                  <Item name="MatchCase" type="boolean" value="false"/>

                  <Items name="PageRange">

                  <Item name="FirstPage" type="integer" value="0"/>

                  <Item name="FirstPageExpression" type="text" value=""/>

                  <Item name="LastPage" type="integer" value="-1"/>

                  <Item name="LastPageExpression" type="text" value=""/>

                  <Item name="PageSelection" type="integer" value="0"/>

                  <Item name="PageSubset" type="integer" value="0"/>

                  </Items>

                  <Item name="Prefix" type="text" value=""/>

                  <Item name="RegExp" type="text" value="(Staying Healthy Assessment|Assessment: PHQ9|Mini-Mental State Examination)"/>

                  <Item name="StopSearchOnMatch" type="boolean" value="true"/>

                  <Item name="Suffix" type="text" value="(Assessment)"/>

                  <Item name="UseArea" type="boolean" value="false"/>

                  <Item name="UserData" type="integer" value="0"/>

                  <Item name="WholeWords" type="boolean" value="false"/>

                  <Item name="m_bUseRegExp" type="boolean" value="true"/>

                  </Items>

                  <Items name="3">

                  <Item name="ActionCode" type="text" value="this.addWatermarkFromText({  cText: &apos;LabResult&apos;,  nFontSize: 10,  aColor: color.red,  nStart: 0, nEnd:  this.numPages - 1,  nTextAlign: app.constants.align.left,  nHorizAlign: app.constants.align.right,  nVertAlign: app.constants.align.bottom,  nHorizValue: -460,  nVertValue: 10  }); &#xD;try&#xD;{&#xD;    if (this.numPages &gt; 2)&#xD;    {&#xD;    var outputFolder = &quot;/C/Dropbox/Processed/ZDrReview/LabResults/&quot;;&#xD;    this.saveAs(outputFolder + this.documentFileName.split(&apos;.&apos;)[0] + &quot;(2PageBiggerLabR).pdf&quot;);&#xD;    }&#xD;    else&#xD;    {&#xD;    var outputFolder = &quot;/C/Dropbox/Processed/ZDrReview/LabResults/&quot;;&#xD;    this.saveAs(outputFolder + this.documentFileName.split(&apos;.&apos;)[0] + &quot;(LabResult).pdf&quot;);&#xD;    }&#xD;}&#xD;catch(e)&#xD;{&#xD;    app.alert(e);&#xD;}&#xD;"/>

                  <Items name="Area">

                  <Item name="Bottom" type="double" value="0.000000"/>

                  <Item name="Left" type="double" value="0.000000"/>

                  <Item name="Right" type="double" value="0.000000"/>

                  <Item name="Top" type="double" value="0.000000"/>

                  </Items>

                  <Item name="CopyFile" type="boolean" value="false"/>

                  <Item name="CopyFolder" type="text" value="C:\Dropbox\Processed\ZDrReview\LabResults\"/>

                  <Item name="CountLineEnds" type="boolean" value="false"/>

                  <Item name="Description" type="text" value="Lab Reports"/>

                  <Item name="ExecuteCode" type="boolean" value="true"/>

                  <Items name="FontFilter">

                  <Item name="FontName" type="text" value=""/>

                  <Item name="FontSize" type="double" value="10.000000"/>

                  <Item name="FontSizeTolerance" type="double" value="0.500000"/>

                  <Item name="MatchFontName" type="boolean" value="false"/>

                  <Item name="MatchFontSize" type="boolean" value="false"/>

                  </Items>

                  <Item name="MatchCase" type="boolean" value="false"/>

                  <Items name="PageRange">

                  <Item name="FirstPage" type="integer" value="0"/>

                  <Item name="FirstPageExpression" type="text" value=""/>

                  <Item name="LastPage" type="integer" value="-1"/>

                  <Item name="LastPageExpression" type="text" value=""/>

                  <Item name="PageSelection" type="integer" value="0"/>

                  <Item name="PageSubset" type="integer" value="0"/>

                  </Items>

                  <Item name="Prefix" type="text" value=""/>

                  <Item name="RegExp" type="text" value="(Labcorp|Quest Diagnostics|Medical Laboratory|Pacific Medical Laboratory|Pathology Report|Laboratory Report)"/>

                  <Item name="StopSearchOnMatch" type="boolean" value="true"/>

                  <Item name="Suffix" type="text" value="(LabResult)"/>

                  <Item name="UseArea" type="boolean" value="false"/>

                  <Item name="UserData" type="integer" value="0"/>

                  <Item name="WholeWords" type="boolean" value="false"/>

                  <Item name="m_bUseRegExp" type="boolean" value="true"/>

                  </Items>

                  <Items name="4">

                  <Item name="ActionCode" type="text" value="this.addWatermarkFromText({  cText: &apos;Authorization&apos;,  nFontSize: 10,  aColor: color.red,  nStart: 0, nEnd:  this.numPages - 1,  nTextAlign: app.constants.align.left,  nHorizAlign: app.constants.align.right,  nVertAlign: app.constants.align.bottom,  nHorizValue: -460,  nVertValue: 10  }); &#xD;try&#xD;{&#xD;    if (this.numPages &gt; 2)&#xD;    {&#xD;    var outputFolder = &quot;/C/Dropbox/Processed/ZDrReview/Authorization/&quot;;&#xD;    this.saveAs(outputFolder + this.documentFileName.split(&apos;.&apos;)[0] + &quot;(Authorization).pdf&quot;);&#xD;    }&#xD;    else&#xD;    {&#xD;    var outputFolder = &quot;/C/Dropbox/Processed/ZDrReview/Authorization/&quot;;&#xD;    this.saveAs(outputFolder + this.documentFileName.split(&apos;.&apos;)[0] + &quot;(Authorization).pdf&quot;);&#xD;    }&#xD;}&#xD;catch(e)&#xD;{&#xD;    app.alert(e);&#xD;}&#xD;&#xD;"/>

                  <Items name="Area">

                  <Item name="Bottom" type="double" value="0.000000"/>

                  <Item name="Left" type="double" value="0.000000"/>

                  <Item name="Right" type="double" value="0.000000"/>

                  <Item name="Top" type="double" value="0.000000"/>

                  </Items>

                  <Item name="CopyFile" type="boolean" value="false"/>

                  <Item name="CopyFolder" type="text" value="C:\Dropbox\Processed\ZDrReview\Authorization\"/>

                  <Item name="CountLineEnds" type="boolean" value="false"/>

                  <Item name="Description" type="text" value="Authorizations"/>

                  <Item name="ExecuteCode" type="boolean" value="true"/>

                  <Items name="FontFilter">

                  <Item name="FontName" type="text" value=""/>

                  <Item name="FontSize" type="double" value="10.000000"/>

                  <Item name="FontSizeTolerance" type="double" value="0.500000"/>

                  <Item name="MatchFontName" type="boolean" value="false"/>

                  <Item name="MatchFontSize" type="boolean" value="false"/>

                  </Items>

                  <Item name="MatchCase" type="boolean" value="false"/>

                  <Items name="PageRange">

                  <Item name="FirstPage" type="integer" value="0"/>

                  <Item name="FirstPageExpression" type="text" value=""/>

                  <Item name="LastPage" type="integer" value="-1"/>

                  <Item name="LastPageExpression" type="text" value=""/>

                  <Item name="PageSelection" type="integer" value="0"/>

                  <Item name="PageSubset" type="integer" value="0"/>

                  </Items>

                  <Item name="Prefix" type="text" value=""/>

                  <Item name="RegExp" type="text" value="(Referral Status Form|Letter of referral|Notice of Action|Authorization Date/Number|Provider Authorization Notification|Notice Of Authorization Of Services|Notification Of Approval)"/>

                  <Item name="StopSearchOnMatch" type="boolean" value="true"/>

                  <Item name="Suffix" type="text" value="(Authorization)"/>

                  <Item name="UseArea" type="boolean" value="false"/>

                  <Item name="UserData" type="integer" value="0"/>

                  <Item name="WholeWords" type="boolean" value="false"/>

                  <Item name="m_bUseRegExp" type="boolean" value="true"/>

                  </Items>

                  <Items name="5">

                  <Item name="ActionCode" type="text" value="this.addWatermarkFromText({  cText: &apos;Radiology&apos;,  nFontSize: 10,  aColor: color.red,  nStart: 0, nEnd:  this.numPages - 1,  nTextAlign: app.constants.align.left,  nHorizAlign: app.constants.align.right,  nVertAlign: app.constants.align.bottom,  nHorizValue: -460,  nVertValue: 10  }); &#xD;try&#xD;{&#xD;    if (this.numPages &gt; 2)&#xD;    {&#xD;    var outputFolder = &quot;/C/Dropbox/Processed/ZDrReview/Radiology/&quot;;&#xD;    this.saveAs(outputFolder + this.documentFileName.split(&apos;.&apos;)[0] + &quot;(Radiology).pdf&quot;);&#xD;    }&#xD;    else&#xD;    {&#xD;    var outputFolder = &quot;/C/Dropbox/Processed/ZDrReview/Radiology/&quot;;&#xD;    this.saveAs(outputFolder + this.documentFileName.split(&apos;.&apos;)[0] + &quot;(Radiology).pdf&quot;);&#xD;    }&#xD;}&#xD;catch(e)&#xD;{&#xD;    app.alert(e);&#xD;}&#xD;&#xD;"/>

                  <Items name="Area">

                  <Item name="Bottom" type="double" value="0.000000"/>

                  <Item name="Left" type="double" value="0.000000"/>

                  <Item name="Right" type="double" value="0.000000"/>

                  <Item name="Top" type="double" value="0.000000"/>

                  </Items>

                  <Item name="CopyFile" type="boolean" value="false"/>

                  <Item name="CopyFolder" type="text" value="C:\Dropbox\Processed\ZDrReview\Radiology\"/>

                  <Item name="CountLineEnds" type="boolean" value="false"/>

                  <Item name="Description" type="text" value="Radiology Reports"/>

                  <Item name="ExecuteCode" type="boolean" value="true"/>

                  <Items name="FontFilter">

                  <Item name="FontName" type="text" value=""/>

                  <Item name="FontSize" type="double" value="10.000000"/>

                  <Item name="FontSizeTolerance" type="double" value="0.500000"/>

                  <Item name="MatchFontName" type="boolean" value="false"/>

                  <Item name="MatchFontSize" type="boolean" value="false"/>

                  </Items>

                  <Item name="MatchCase" type="boolean" value="false"/>

                  <Items name="PageRange">

                  <Item name="FirstPage" type="integer" value="0"/>

                  <Item name="FirstPageExpression" type="text" value=""/>

                  <Item name="LastPage" type="integer" value="-1"/>

                  <Item name="LastPageExpression" type="text" value=""/>

                  <Item name="PageSelection" type="integer" value="0"/>

                  <Item name="PageSubset" type="integer" value="0"/>

                  </Items>

                  <Item name="Prefix" type="text" value=""/>

                  <Item name="RegExp" type="text" value="(West Coast Radiology|Imaging Services|Magnolia Medical Imaging|Orange Imaging Medical|Medizen Advanced Imaging|Orange County Diagnostics|Mission Imaging Center|Mission Hospital Radiology|Lab Radiology Orders|Department Of Imaging|Memorial Care Imaging|Women&apos;s Imaging Center|Breastlink|WCRC|WCBC|Radiology|Saddleback Valley Radiology|Crown Valley Imaging|United Medical Imaging|&quot; CVI &quot; )"/>

                  <Item name="StopSearchOnMatch" type="boolean" value="true"/>

                  <Item name="Suffix" type="text" value="(Radiology)"/>

                  <Item name="UseArea" type="boolean" value="false"/>

                  <Item name="UserData" type="integer" value="0"/>

                  <Item name="WholeWords" type="boolean" value="false"/>

                  <Item name="m_bUseRegExp" type="boolean" value="true"/>

                  </Items>

                  <Items name="6">

                  <Item name="ActionCode" type="text" value="this.addWatermarkFromText({  cText: &apos;MedPriAuth&apos;,  nFontSize: 10,  aColor: color.red,  nStart: 0, nEnd:  this.numPages - 1,  nTextAlign: app.constants.align.left,  nHorizAlign: app.constants.align.right,  nVertAlign: app.constants.align.bottom,  nHorizValue: -460,  nVertValue: 10  }); &#xD;try&#xD;{&#xD;    if (this.numPages &gt; 2)&#xD;    {&#xD;    var outputFolder = &quot;/C/Dropbox/Processed/ZDrReview/PriAuth/&quot;;&#xD;    this.saveAs(outputFolder + this.documentFileName.split(&apos;.&apos;)[0] + &quot;(MedPriAuth).pdf&quot;);&#xD;    }&#xD;    else&#xD;    {&#xD;    var outputFolder = &quot;/C/Dropbox/Processed/ZDrReview/PriAuth/&quot;;&#xD;    this.saveAs(outputFolder + this.documentFileName.split(&apos;.&apos;)[0] + &quot;(MedPriAuth).pdf&quot;);&#xD;    }&#xD;}&#xD;catch(e)&#xD;{&#xD;    app.alert(e);&#xD;}&#xD;&#xD;&#xD;"/>

                  <Items name="Area">

                  <Item name="Bottom" type="double" value="0.000000"/>

                  <Item name="Left" type="double" value="0.000000"/>

                  <Item name="Right" type="double" value="0.000000"/>

                  <Item name="Top" type="double" value="0.000000"/>

                  </Items>

                  <Item name="CopyFile" type="boolean" value="false"/>

                  <Item name="CopyFolder" type="text" value="C:\Dropbox\Processed\ZDrReview\PriAuth\"/>

                  <Item name="CountLineEnds" type="boolean" value="false"/>

                  <Item name="Description" type="text" value="Prior Authorization"/>

                  <Item name="ExecuteCode" type="boolean" value="true"/>

                  <Items name="FontFilter">

                  <Item name="FontName" type="text" value=""/>

                  <Item name="FontSize" type="double" value="10.000000"/>

                  <Item name="FontSizeTolerance" type="double" value="0.500000"/>

                  <Item name="MatchFontName" type="boolean" value="false"/>

                  <Item name="MatchFontSize" type="boolean" value="false"/>

                  </Items>

                  <Item name="MatchCase" type="boolean" value="false"/>

                  <Items name="PageRange">

                  <Item name="FirstPage" type="integer" value="0"/>

                  <Item name="FirstPageExpression" type="text" value=""/>

                  <Item name="LastPage" type="integer" value="-1"/>

                  <Item name="LastPageExpression" type="text" value=""/>

                  <Item name="PageSelection" type="integer" value="0"/>

                  <Item name="PageSubset" type="integer" value="0"/>

                  </Items>

                  <Item name="Prefix" type="text" value=""/>

                  <Item name="RegExp" type="text" value="(Pharmacy Prior Authorization|Prior Authorization Request|Prior Authorization Staff|Need Prior Authorization|Standard Prior Authorization|Prior Authorization Needed|Urgent Prior Authorization|Prior Authorization Was|Prior Authorization Clarification|Medication Authorization Notification|Medication Authorization Notification|Initiate Prior Authorization|Preautitorization For Outpatient Services|Preauthorization For Outpatient Services Facsimile Transmittal)"/>

                  <Item name="StopSearchOnMatch" type="boolean" value="true"/>

                  <Item name="Suffix" type="text" value="(MedPriAuth)"/>

                  <Item name="UseArea" type="boolean" value="false"/>

                  <Item name="UserData" type="integer" value="0"/>

                  <Item name="WholeWords" type="boolean" value="false"/>

                  <Item name="m_bUseRegExp" type="boolean" value="true"/>

                  </Items>

                  <Items name="7">

                  <Item name="ActionCode" type="text" value="this.addWatermarkFromText({  cText: &apos;Ins. Report&apos;,  nFontSize: 10,  aColor: color.red,  nStart: 0, nEnd:  this.numPages - 1,  nTextAlign: app.constants.align.left,  nHorizAlign: app.constants.align.right,  nVertAlign: app.constants.align.bottom,  nHorizValue: -460,  nVertValue: 10  }); &#xD;try&#xD;{&#xD;    if (this.numPages &gt; 2)&#xD;    {&#xD;    var outputFolder = &quot;/C/Dropbox/Processed/ZTrash/&quot;;&#xD;    this.saveAs(outputFolder + this.documentFileName.split(&apos;.&apos;)[0] + &quot;(Trash).pdf&quot;);&#xD;    }&#xD;    else&#xD;    {&#xD;    var outputFolder = &quot;/C/Dropbox/Processed/ZTrash/&quot;;&#xD;    this.saveAs(outputFolder + this.documentFileName.split(&apos;.&apos;)[0] + &quot;(Trash).pdf&quot;);&#xD;    }&#xD;}&#xD;catch(e)&#xD;{&#xD;    app.alert(e);&#xD;}&#xD;&#xD;&#xD;"/>

                  <Items name="Area">

                  <Item name="Bottom" type="double" value="0.000000"/>

                  <Item name="Left" type="double" value="0.000000"/>

                  <Item name="Right" type="double" value="0.000000"/>

                  <Item name="Top" type="double" value="0.000000"/>

                  </Items>

                  <Item name="CopyFile" type="boolean" value="false"/>

                  <Item name="CopyFolder" type="text" value="C:\Dropbox\Processed\ZTrash\"/>

                  <Item name="CountLineEnds" type="boolean" value="false"/>

                  <Item name="Description" type="text" value="Ins. Reports"/>

                  <Item name="ExecuteCode" type="boolean" value="true"/>

                  <Items name="FontFilter">

                  <Item name="FontName" type="text" value=""/>

                  <Item name="FontSize" type="double" value="10.000000"/>

                  <Item name="FontSizeTolerance" type="double" value="0.500000"/>

                  <Item name="MatchFontName" type="boolean" value="false"/>

                  <Item name="MatchFontSize" type="boolean" value="false"/>

                  </Items>

                  <Item name="MatchCase" type="boolean" value="false"/>

                  <Items name="PageRange">

                  <Item name="FirstPage" type="integer" value="0"/>

                  <Item name="FirstPageExpression" type="text" value=""/>

                  <Item name="LastPage" type="integer" value="-1"/>

                  <Item name="LastPageExpression" type="text" value=""/>

                  <Item name="PageSelection" type="integer" value="0"/>

                  <Item name="PageSubset" type="integer" value="0"/>

                  </Items>

                  <Item name="Prefix" type="text" value=""/>

                  <Item name="RegExp" type="text" value="(Cal Optima Capitation Reconciliation|Capitation Reconciliation Report|PCP Capitation Summary|Do Not Print|Monthly Cal Optima Capitation Summary)"/>

                  <Item name="StopSearchOnMatch" type="boolean" value="true"/>

                  <Item name="Suffix" type="text" value="(Trash)"/>

                  <Item name="UseArea" type="boolean" value="false"/>

                  <Item name="UserData" type="integer" value="0"/>

                  <Item name="WholeWords" type="boolean" value="false"/>

                  <Item name="m_bUseRegExp" type="boolean" value="true"/>

                  </Items>

                  <Items name="8">

                  <Item name="ActionCode" type="text" value="this.addWatermarkFromText({  cText: &apos;PCPInfo&apos;,  nFontSize: 10,  aColor: color.red,  nStart: 0, nEnd:  this.numPages - 1,  nTextAlign: app.constants.align.left,  nHorizAlign: app.constants.align.right,  nVertAlign: app.constants.align.bottom,  nHorizValue: -460,  nVertValue: 10  }); &#xD;try&#xD;{&#xD;    if (this.numPages &gt; 2)&#xD;    {&#xD;    var outputFolder = &quot;/C/Dropbox/Processed/ZDrReview/PtChart/&quot;;&#xD;    this.saveAs(outputFolder + this.documentFileName.split(&apos;.&apos;)[0] + &quot;(PCPInfo).pdf&quot;);&#xD;    }&#xD;    else&#xD;    {&#xD;    var outputFolder = &quot;/C/Dropbox/Processed/ZDrReview/PtChart/&quot;;&#xD;    this.saveAs(outputFolder + this.documentFileName.split(&apos;.&apos;)[0] + &quot;(PCPInfo).pdf&quot;);&#xD;    }&#xD;}&#xD;catch(e)&#xD;{&#xD;    app.alert(e);&#xD;}&#xD;"/>

                  <Items name="Area">

                  <Item name="Bottom" type="double" value="0.000000"/>

                  <Item name="Left" type="double" value="0.000000"/>

                  <Item name="Right" type="double" value="0.000000"/>

                  <Item name="Top" type="double" value="0.000000"/>

                  </Items>

                  <Item name="CopyFile" type="boolean" value="false"/>

                  <Item name="CopyFolder" type="text" value="C:\Dropbox\Processed\ZDrReview\PtChart\"/>

                  <Item name="CountLineEnds" type="boolean" value="false"/>

                  <Item name="Description" type="text" value="For PCP info."/>

                  <Item name="ExecuteCode" type="boolean" value="true"/>

                  <Items name="FontFilter">

                  <Item name="FontName" type="text" value=""/>

                  <Item name="FontSize" type="double" value="10.000000"/>

                  <Item name="FontSizeTolerance" type="double" value="0.500000"/>

                  <Item name="MatchFontName" type="boolean" value="false"/>

                  <Item name="MatchFontSize" type="boolean" value="false"/>

                  </Items>

                  <Item name="MatchCase" type="boolean" value="false"/>

                  <Items name="PageRange">

                  <Item name="FirstPage" type="integer" value="0"/>

                  <Item name="FirstPageExpression" type="text" value=""/>

                  <Item name="LastPage" type="integer" value="-1"/>

                  <Item name="LastPageExpression" type="text" value=""/>

                  <Item name="PageSelection" type="integer" value="0"/>

                  <Item name="PageSubset" type="integer" value="0"/>

                  </Items>

                  <Item name="Prefix" type="text" value=""/>

                  <Item name="RegExp" type="text" value="(PCP Admit Notification|PCP Discharge Notification|Member Notification Completed|PCP Admit Notification|PCP Discharge Notification|Attach Pt Chart)"/>

                  <Item name="StopSearchOnMatch" type="boolean" value="true"/>

                  <Item name="Suffix" type="text" value="(PCPInfo)"/>

                  <Item name="UseArea" type="boolean" value="false"/>

                  <Item name="UserData" type="integer" value="0"/>

                  <Item name="WholeWords" type="boolean" value="false"/>

                  <Item name="m_bUseRegExp" type="boolean" value="true"/>

                  </Items>

                  <Items name="9">

                  <Item name="ActionCode" type="text" value="this.addWatermarkFromText({  cText: &apos;MedRefill&apos;,  nFontSize: 10,  aColor: color.red,  nStart: 0, nEnd:  this.numPages - 1,  nTextAlign: app.constants.align.left,  nHorizAlign: app.constants.align.right,  nVertAlign: app.constants.align.bottom,  nHorizValue: -460,  nVertValue: 10  }); &#xD;try&#xD;{&#xD;    if (this.numPages &gt; 2)&#xD;    {&#xD;    var outputFolder = &quot;/C/Dropbox/Processed/ZDrReview/MedRefill/&quot;;&#xD;    this.saveAs(outputFolder + this.documentFileName.split(&apos;.&apos;)[0] + &quot;(MedRefill).pdf&quot;);&#xD;    }&#xD;    else&#xD;    {&#xD;    var outputFolder = &quot;/C/Dropbox/Processed/ZDrReview/MedRefill/&quot;;&#xD;    this.saveAs(outputFolder + this.documentFileName.split(&apos;.&apos;)[0] + &quot;(MedRefill).pdf&quot;);&#xD;    }&#xD;}&#xD;catch(e)&#xD;{&#xD;    app.alert(e);&#xD;}&#xD;"/>

                  <Items name="Area">

                  <Item name="Bottom" type="double" value="0.000000"/>

                  <Item name="Left" type="double" value="0.000000"/>

                  <Item name="Right" type="double" value="0.000000"/>

                  <Item name="Top" type="double" value="0.000000"/>

                  </Items>

                  <Item name="CopyFile" type="boolean" value="false"/>

                  <Item name="CopyFolder" type="text" value="C:\Dropbox\Processed\ZDrReview\MedRefill\"/>

                  <Item name="CountLineEnds" type="boolean" value="false"/>

                  <Item name="Description" type="text" value="Med. Refills"/>

                  <Item name="ExecuteCode" type="boolean" value="true"/>

                  <Items name="FontFilter">

                  <Item name="FontName" type="text" value=""/>

                  <Item name="FontSize" type="double" value="10.000000"/>

                  <Item name="FontSizeTolerance" type="double" value="0.500000"/>

                  <Item name="MatchFontName" type="boolean" value="false"/>

                  <Item name="MatchFontSize" type="boolean" value="false"/>

                  </Items>

                  <Item name="MatchCase" type="boolean" value="false"/>

                  <Items name="PageRange">

                  <Item name="FirstPage" type="integer" value="0"/>

                  <Item name="FirstPageExpression" type="text" value=""/>

                  <Item name="LastPage" type="integer" value="-1"/>

                  <Item name="LastPageExpression" type="text" value=""/>

                  <Item name="PageSelection" type="integer" value="0"/>

                  <Item name="PageSubset" type="integer" value="0"/>

                  </Items>

                  <Item name="Prefix" type="text" value=""/>

                  <Item name="RegExp" type="text" value="(Pharmacy Rx|Costco Pharmacy|Target Pharmacy|Rite Aid|CVS Pharmacy|CVS/pharmacy|Prescription Refill|Refill Authorization|Authorization Request|Savon Pharmacy|Plus Pharmacy|New Prescription|Walgreens|For Refills|Erx Network|Ramsay Rexall|Seena Pharmacy|Farmacia Santa Ana|Razi Pharmacy|Refill Authorization|Rx Authorization|Pars Pharmacy|Medical Arts Pharmacy|Prescription Request for 90 day supply|90 Days Supply|Request For Authorization)"/>

                  <Item name="StopSearchOnMatch" type="boolean" value="true"/>

                  <Item name="Suffix" type="text" value="(MedRefill)"/>

                  <Item name="UseArea" type="boolean" value="false"/>

                  <Item name="UserData" type="integer" value="0"/>

                  <Item name="WholeWords" type="boolean" value="false"/>

                  <Item name="m_bUseRegExp" type="boolean" value="true"/>

                  </Items>

                  <Items name="10">

                  <Item name="ActionCode" type="text" value="this.addWatermarkFromText({  cText: &apos;Consult&apos;,  nFontSize: 10,  aColor: color.red,  nStart: 0, nEnd:  this.numPages - 1,  nTextAlign: app.constants.align.left,  nHorizAlign: app.constants.align.right,  nVertAlign: app.constants.align.bottom,  nHorizValue: -460,  nVertValue: 10  }); &#xD;try&#xD;{&#xD;    if (this.numPages &gt; 2)&#xD;    {&#xD;    var outputFolder = &quot;/C/Dropbox/Processed/ZDrReview/Consult/&quot;;&#xD;    this.saveAs(outputFolder + this.documentFileName.split(&apos;.&apos;)[0] + &quot;(Consult).pdf&quot;);&#xD;    }&#xD;    else&#xD;    {&#xD;    var outputFolder = &quot;/C/Dropbox/Processed/ZDrReview/Consult/&quot;;&#xD;    this.saveAs(outputFolder + this.documentFileName.split(&apos;.&apos;)[0] + &quot;(Consult).pdf&quot;);&#xD;    }&#xD;}&#xD;catch(e)&#xD;{&#xD;    app.alert(e);&#xD;}&#xD;"/>

                  <Items name="Area">

                  <Item name="Bottom" type="double" value="0.000000"/>

                  <Item name="Left" type="double" value="0.000000"/>

                  <Item name="Right" type="double" value="0.000000"/>

                  <Item name="Top" type="double" value="0.000000"/>

                  </Items>

                  <Item name="CopyFile" type="boolean" value="false"/>

                  <Item name="CopyFolder" type="text" value="C:\Dropbox\Processed\ZDrReview\Consult\"/>

                  <Item name="CountLineEnds" type="boolean" value="false"/>

                  <Item name="Description" type="text" value="Consult"/>

                  <Item name="ExecuteCode" type="boolean" value="true"/>

                  <Items name="FontFilter">

                  <Item name="FontName" type="text" value=""/>

                  <Item name="FontSize" type="double" value="10.000000"/>

                  <Item name="FontSizeTolerance" type="double" value="0.500000"/>

                  <Item name="MatchFontName" type="boolean" value="false"/>

                  <Item name="MatchFontSize" type="boolean" value="false"/>

                  </Items>

                  <Item name="MatchCase" type="boolean" value="true"/>

                  <Items name="PageRange">

                  <Item name="FirstPage" type="integer" value="0"/>

                  <Item name="FirstPageExpression" type="text" value=""/>

                  <Item name="LastPage" type="integer" value="-1"/>

                  <Item name="LastPageExpression" type="text" value=""/>

                  <Item name="PageSelection" type="integer" value="0"/>

                  <Item name="PageSubset" type="integer" value="0"/>

                  </Items>

                  <Item name="Prefix" type="text" value=""/>

                  <Item name="RegExp" type="text" value="(Patient Clinical Summary|UC Irvine Health|History of present illness|All Health Plans|All Networks|Consultation Report|Consultation Notes|Hearing Care Professionals|STAR Gaps in Care|Emergency Department Visit|Cardiology Specialists|Operative Report)"/>

                  <Item name="StopSearchOnMatch" type="boolean" value="true"/>

                  <Item name="Suffix" type="text" value="(Consult)"/>

                  <Item name="UseArea" type="boolean" value="false"/>

                  <Item name="UserData" type="integer" value="0"/>

                  <Item name="WholeWords" type="boolean" value="false"/>

                  <Item name="m_bUseRegExp" type="boolean" value="true"/>

                  </Items>

                  <Item name="AppendReport" type="boolean" value="false"/>

                  <Item name="CreateCSV" type="boolean" value="true"/>

                  <Item name="CreateReport" type="boolean" value="true"/>

                  <Item name="EnableLogging" type="boolean" value="true"/>

                  <Item name="ExecuteFileCode" type="boolean" value="false"/>

                  <Item name="FileCode" type="text" value=""/>

                  <Items name="NoMatchRule">

                  <Item name="ActionCode" type="text" value="this.addWatermarkFromText({  cText: &apos;NoMatch&apos;,  nFontSize: 10,  aColor: color.red,  nStart: 0, nEnd:  this.numPages - 1,  nTextAlign: app.constants.align.left,  nHorizAlign: app.constants.align.right,  nVertAlign: app.constants.align.bottom,  nHorizValue: -460,  nVertValue: 10  });&#xD;try&#xD;{&#xD;    if (this.numPages &gt; 2)&#xD;    {&#xD;    var outputFolder = &quot;/C/Dropbox/Processed/ZDrReview/Consult/&quot;;&#xD;    this.saveAs(outputFolder + orignalFileName + &quot;(NoMatch).pdf&quot;;&#xD;    }&#xD;    else&#xD;    {&#xD;    var outputFolder = &quot;/C/Dropbox/Processed/ZDrReview/Consult/&quot;;&#xD;    this.saveAs(outputFolder + orignalFileName + &quot;(NoMatch).pdf&quot;;&#xD;    }&#xD;}&#xD;catch(e)&#xD;{&#xD;    app.alert(e);&#xD;}&#xD;"/>

                  <Items name="Area">

                  <Item name="Bottom" type="double" value="0.000000"/>

                  <Item name="Left" type="double" value="0.000000"/>

                  <Item name="Right" type="double" value="0.000000"/>

                  <Item name="Top" type="double" value="0.000000"/>

                  </Items>

                  <Item name="CopyFile" type="boolean" value="true"/>

                  <Item name="CopyFolder" type="text" value="C:\Dropbox\Processed\ZDrReview\Consult\"/>

                  <Item name="CountLineEnds" type="boolean" value="false"/>

                  <Item name="Description" type="text" value=""/>

                  <Item name="ExecuteCode" type="boolean" value="true"/>

                  <Items name="FontFilter">

                  <Item name="FontName" type="text" value=""/>

                  <Item name="FontSize" type="double" value="10.000000"/>

                  <Item name="FontSizeTolerance" type="double" value="0.500000"/>

                  <Item name="MatchFontName" type="boolean" value="false"/>

                  <Item name="MatchFontSize" type="boolean" value="false"/>

                  </Items>

                  <Item name="MatchCase" type="boolean" value="false"/>

                  <Items name="PageRange">

                  <Item name="FirstPage" type="integer" value="0"/>

                  <Item name="FirstPageExpression" type="text" value=""/>

                  <Item name="LastPage" type="integer" value="-1"/>

                  <Item name="LastPageExpression" type="text" value=""/>

                  <Item name="PageSelection" type="integer" value="0"/>

                  <Item name="PageSubset" type="integer" value="0"/>

                  </Items>

                  <Item name="Prefix" type="text" value=""/>

                  <Item name="RegExp" type="text" value=""/>

                  <Item name="StopSearchOnMatch" type="boolean" value="false"/>

                  <Item name="Suffix" type="text" value="(NoMatch)"/>

                  <Item name="UseArea" type="boolean" value="false"/>

                  <Item name="UserData" type="integer" value="0"/>

                  <Item name="WholeWords" type="boolean" value="false"/>

                  <Item name="m_bUseRegExp" type="boolean" value="true"/>

                  </Items>

                  <Item name="NumItems" type="integer" value="11"/>

                  <Item name="OverwriteReport" type="boolean" value="true"/>

                  <Item name="ReportFile" type="text" value="C:\Dropbox\$$Misc\$$CustomRtn\FaxRtn\AutoDocSearch\AutoDocSearchLogs\AutoBatch Search Report.txt.htm"/>

                  <Item name="ShowResults" type="boolean" value="true"/>

                  <Item name="UseNoMatchRule" type="boolean" value="true"/>

                  </Items>

                  </Command>

                  </Group>

                  </Workflow

                  • 6. Re: Action item does not work
                    Karl Heinz Kremer Adobe Community Professional

                    I don't have the EverMap plug-in, so I cannot run through the whole action, but because a 3rd party plug-in is involved, I would first talk to EverMaps's support and see if they are aware of any potential problems.

                    • 7. Re: Action item does not work
                      JeffBPaarsa Level 1

                      Hello,

                       

                      I have created action under Acrobat DC and X and XI all are acting the same... No difference.

                       

                      Regards,

                      Jeff Paarsa

                      • 8. Re: Action item does not work
                        Test Screen Name Most Valuable Participant

                        What did EverMap support say?