Flexi Capture 11 , Hot Folder

  • 69 Views
  • Last Post 1 weeks ago
sampat_g123 posted this 4 weeks ago

I would like to know if flexi capture have the capability to import jpg files from hot folder , ordered from  the smallest creation date to latest creation date .   Thank you very much.

Order By: Standard | Newest | Votes
Ekaterina posted this 2 weeks ago

Hello,

You may extract the creation date from the IPage.ImageSource property (Appendix > Using scripts in ABBYY FlexiCapture > Scripts for customizing processing stages > Objects > IPage). The you may set this value to the registration parameter. Then you may sort your files by this parameter. See the sample:

Page.Document.Properties.Set("SourceImageTime",new FileInfo(Page.ImageSource).CreationTime.ToString("yyyy/MM/dd HH-mm-ss"));

This script read file info and create property with creation time of source image.

 

 

sampat_g123 posted this 2 weeks ago

 

Ekaterina, thank you for answering ,  but I think I can't do this because in my installation , I have set image import profile to create new batches for imported images automatically and  numbers of files to add ,  to several (1-50) .

 

Let me explain my problem with more details .  Our clients scan invoices in their office , and a web service import to hot folder these images.

 

 Sometimes due to lot of invoices, flexicapture can not recognize all one-day invoices. The next day flexicapture recognize today's invoices and not the day before. After finish with today's invoices continue with day before invoices.  Any idea ...  Thank very much

 

Ekaterina posted this 1 weeks ago

Hello,

Thank you for the provided description of your scenario. Your "yesterday" files that are not processed until the "today" most probably have the names that put them into the end of list sorted by alphabet. 

Files are taken from the HotFolder by the alphabetic order and unfortunately it cannot be changed. 

As a workaround we may propose you to modify the incoming file names by adding the date in the beginning, and so the files will be auto-arranged by date and processed in date order too.

Close