Community

Merge documents using scripts

In scripts, we can access extracted data of a document/s, In certain cases and using certain criteria I want to merge 2 or 3 documents into one before it gets exported to output folder. Can anyone tell me how to merge 2 or more documents into one document using scripts? I am using ABBYY Flexicapture 10 Distributed.




Thanks.

Was this article helpful?

0 out of 0 found this helpful

Comments

4 comments

  • Avatar
    Permanently deleted user


    Rahul,

    I don't have a sample script for exactly what you want to do but I do have a script that would move pages if they are unrecognized. It should give you an idea on how to move the pages. Basically you would set this up in a custom stage (Document Assembly - Batch Processing)

    Dim I
    i=0
    Do While i <>
    if Documents.Item(i).DefinitionName="" AN Documents.Item(i+1).DefinitonName="" then
    me.Movepage Documents.Item(i+1), Documents.Item(i), 0,0
    else
    i =i+1
    end if
    loop
    0
  • Avatar
    Permanently deleted user

    Thank you very much, Sushi

    0
  • Avatar
    Permanently deleted user

    Hi Rahul,

     

    There are two documents in Batch. The first document is recognized as Invoice and another as "Unknown". Would this code move the page in the Unknown document to the Invoice Document.

    Please let me know. It would be a lot of help for me.

     

    Thanks

    0
  • Avatar
    NAGESHWAR PORLA

    Hi TEAM,

    Could you please let me know the solution how to merge the un recognized document to main recognized document.

    Thanks and Regards,

    Nageshwar Reddy Porla.

    0

Please sign in to leave a comment.