| AddBatch( target: IWorkspaceItem, name: string, type: IBatchType ): IWorkspaceItem | Adds a batch. A new batch is added after the batch specified in the target parameter. To add the batch to the beginning of the list, set the target parameter to “Nothing” (VBScript: me.AddBatch Nothing, "batch 1", me.BatchTypes.Item(0)). If the name parameter is empty, the batch name is generated according to the batch settings. |
| AddDocument( page: IWorkspaceItem, name: string ): IWorkspaceItem | Inserts the page into a new document. If the page is already included in the document, three documents are created: one with the previous pages, one with the current page, and one with the following pages. If the name parameter is empty, the document name is generated according to the batch settings. |
| AddPages( fileName: string, target: IWorkspaceItem, [optional] inside: bool ): IWorkspaceItems | Adds pages from a file. Pages can be added after the target item at the same level or inside the target item at the beginning of the list. A target can be a batch, document or page. If the target is a batch, the inside parameter must be “true” (pages are added to the beginning of the batch). If the target is a page, the inside parameter must be “false” (pages are added after the specified page). If the target is a document, the inside parameter can be both “true” and “false”. |
| ClearSelection() | Clears the current selection |
| DeleteItem( item: IWorkspaceItem ) | Deletes a specified item |
| DetectPageEmpty( page: IWorkspaceItem, [optional] options: IEmptyPageDetectionOptions ): bool | Detects an empty page |
| Exit(): bool | Finishes the station work |
| FindPageBarcodes( page: IWorkspaceItem, [optional] options: IBarcodeFindingOptions ): IScriptFoundBarcodes | Searches for barcodes on the page |
| NewBarcodeFindingOptions(): IBarcodeFindingOptions | Sets barcode finding options |
| NewEmptyPageDetectionOptions(): IEmptyPageDetectionOptions | Sets options for detecting empty pages |
| NewImageSavingOptions(): IImageSavingOptions | Sets image saving options |
| NewPageRect(): IPageRect | Defines a page rectangle |
| RunScript( scriptName: string, [optional] info: string, [optional] skipShowError: bool ): IScriptResult | Runs the script execution |
| Scan( [optional] folder: string ) | Starts scanning with the settings of the current batch type |
| Send( batch: IWorkspaceItem ) | Exports the batch with the settings of the current batch type |
| SendByScript( batch: IWorkspaceItem, skipShowExportOptions: bool ) | Sends the batch by using a script with the settings of the current batch type. The skipShowExportOptions parameter specifies whether to display the Export Options dialog box before sending the batch. |
| SendToFC( batch: IWorkspaceItem, [optional] skipShowExportOptions: bool ) | Sends the batch to ABBYY FlexiCapture with the settings of the current batch type. The skipShowExportOptions parameter specifies whether to display the Export Options dialog box before sending the batch. |
| SendToFolder( batch: IWorkspaceItem, [optional] skipShowExportOptions: bool ) | Exports the batch to a folder with the settings of the current batch type. The skipShowExportOptions parameter specifies whether to display the Export Options dialog box before sending the batch. |
| SendToFTP( batch: IWorkspaceItem, [optional] skipShowExportOptions: bool ) | Exports the batch to an FTP folder with the settings of the current batch type. The skipShowExportOptions parameter specifies whether to display the Export Options dialog box before sending the batch. |
| SetPageImage( page: IWorkspaceItem, fileName: string, [optional] filePageIndex: int ) | Changes the image of the page |
| Wait( millisecond: int ) | Suspends the script execution for the specified time (in milliseconds) |