透過指令行儲存結果

Download

需要適合的 ABBYY FineReader 授權。

在程式啟動時使用指令行以儲存轉換結果

要將任何掃描文件、PDF 檔案、和/或影像檔案轉換為可編輯格式,並儲存結果,請執行以下指令:

FineCmd.exe <ImageSourceCommands> <RecognitionCommands> <ExportCommands> <OtherCommands>

FineCmd.exe

程式安裝資料夾中 FineCmd.exe 檔案的路徑。

如果檔案的完整路徑包含空格,請將其列入引號中。

<ImageSourceCommands> - 用於進行辨識的來源文件 如需更多資訊,請參閱用於轉換文件的指令行參數
<RecognitionCommands> - 辨識參數 如需更多資訊,請參閱用於轉換文件的指令行參數
<ExportCommands> - 儲存結果 /out Out.Ext

Out.Ext 為包含辨識結果的檔案的路經,其中 .Ext 為檔案副檔名。如果已存在使用此名稱的檔案,該檔案名稱將會被修改。


如需有關支援檔案格式的清單的完整清單,請參閱支援文件格式

<OtherCommands> /report ReportFile 建立有關已完成轉換任務的報告。ReportFile 為報告檔案的路徑。

樣本指令:

“C:\Program Files (x86)\ABBYY FineReader 15\FineCmd.exe” D:\Documents\Document1.pdf /lang French /out D:\Documents\Result.docx /report D:\Documents\ReportFile

上述指令將使用 OCR 編輯器將稱為 Document1.pdf 的法文語言檔案轉換和儲存為稱為 Result.docx 的檔案。並會建立稱為 ReportFile 的檔案。

在程式啟動時使用指令行以儲存對比結果

要對比一文件的兩個版本,請執行以下指令:

Comparator.exe /compare <ImageSourceCommands> <ComparisonCommands> <ExportCommands>

Comparator.exe /compare 程式安裝資料夾中 Comparator.exe 檔案的路徑。
<ImageSourceCommands> - 要進行對比的文件 如需更多資訊,請參閱用於對比文件的指令行參數
<ComparisonCommands> - 對比設定 如需更多資訊,請參閱用於對比文件的指令行參數
<ExportCommands> - 儲存結果 /saveFile:Out.Ext

Out.Ext 為包含對比結果的檔案的路經,其中 .Ext 為檔案副檔名。如果已存在使用此名稱的檔案,該檔案名稱將會被修改。


檔案副檔名應符合儲存結果模式格式。


如需有關支援格式的完整清單,請參閱支援文件格式

/saveMode:SaveMode

儲存對比結果模式。以下列其中一項取代「SaveMode」:

  • PdfDocument1 - 以 PDF 格式儲存第一文件以及為每個差異新增註解;
  • PdfDocument2 - 以 PDF 格式儲存第二文件以及為每個差異新增註解;
  • Word - 以儲存 Microsoft Word 表格儲存差異清單。

樣本指令:

“C:\Program Files (x86)\ABBYY FineReader 15\Comparator.exe” /compare /file1:D:\Documents\Document1.pdf /file2:D:\Documents\Document2.pdf /lang:French /recMode:AutoChoose /options:IgnorePunctDiff,UngroupDiff /saveFile:D:\Documents\Comparison.docx /saveMode:Word

以上指令將啟動進行法文語言文件 Document1.pdf 以及 Document2.pdf 的對比。程式將自動決定是否使用 OCR 或現有 PDF 文字。ABBYY 對比文件 會忽略所有標點符號差異,不會對發現的任何差異進行分組,以及會把儲存對比結果存在稱為 Comparison.docx 的檔案中(以表格方式)。

04.03.2022 7:13:34

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.