abbyy finereader.exe looking for cmd commands to use in other programms

user1748357 picture user1748357 · May 5, 2013 · Viewed 19.7k times · Source

I just bought abbyy finereader 11 copr to rund it from another programm, but i cant find any commends to be used for finereader.exe. so without any commands it simply openens and scans but i need to tell it where to save the document and how to name and the to close the app again, also it would be cool to have it as a background task.

Answer

sancheese picture sancheese · Mar 17, 2016

While doing my OCR research project, found one. Works with FR12, didn't tested with earlier versions.

FineCmd.exe PRESS2.TIFF /lang Mixed /out C:\temp\result.txt /quit 

general command line:  <open_keys/scanning> [<recognition_keys>] [<export_keys>] 

  <open_keys/scanning> ::= ImageFiles | /scan [SourceName] | /file [filename1 filename2], where
    ImageFiles - list of files for recognition
    SourceName - images source (scanner); if not specified, current is used
    filename.. -  list of files for recognition

  <recognition_keys> ::= [/lang Language] [/optionsFile OptionsFileName], where
    Language - name of language in English (russian, greek, Mixed)
    OptionsFileName - path to options file

  <export_key> ::= /out ExportFile | /send Target, where
    ExportFile - name of file with extension to save file to
      (txt, rtf, doc, docx, xml, htm(l), xls, xlsx, ppt, pptx, pdf, dbf, csv, lit); 
    Target - name of target app where to open
      (MSWord, MSExcel, WordPro, WordPerfect, StarWriter, Mail, Clipboard, WebBrowser, Acrobat, PowerPoint)

This command opens FR ui, processes the file and then closes it (if you pass argument /quit). FineCmd.exe located in FR directory where you installed it