2. Job Variablesadd chapter
job.name | Job name, such as JOB_00000010 |
job.fileFormat | Job file format |
job.folder | Folder where BCS-2 stores the job |
job.numPages | Number of pages in the job |
job.currPage | Number of the current job page |
job.jobSize | Job size, approximate value |
job.averageSharpness | Average sharpness of the pages of the job |
job.keyMap | Allows access to the key map of the job |
job.index1-x | Access to the created indexes of 1-x |
job.deletable | Deletes the job after the configured wait period |
job.workFlow | Returns the workflow to which the job is connected |
job.started | Returns whether the job was started |
job.modified | Returns whether the job was modified |
job.currYear | Job creation date year |
job.currMonth | Job creation date month |
job.currDay | Job creation date day |
job.currHour | Job creation date hour |
job.currMinute | Job creation date minutes |
job.currSecond | Job creation date seconds |
job.creationuser | User that created the job* |
job.modificationuser | Last user to modify the job* |
job.userName | signed in user* |
job.changeDpiCurrPage(300) | Sets the DPI of the current page to 300 |
job.rotateCurrPage(90) | Rotate the current page 90° |
job.grayScaleCurrPage() | Converts the current page to grayscale |
job.binarizeCurrPage() | Binarizes the current page |
job.invertCurrPage() | Inverts the current page |
job.dewarpCurrPage() | Rectifies the current page |
job.derotateCurrPage() | Undo rotation for the current page |
job.blackBorderRemoveCurrPage() | Removes black border |
job.mirrorCurrPage() | Mirrors the current page |
job.scaleToDpiCurrPage(300) | Scales the image to 300 DPI |
job.despeckleCurrPage() | Despeckles the current page |
job.deskewCurrPage() | Deskewing the current page |
job.filterGrayscaleCurrPage() | Grayscale filter for the current page |
job.cleanBackgroundCurrPage() | Clean up the background for the current page |
job.medianCurrPage(10) | |
job.cropCurrPage() | Crops the current page |
job.autocropCurrPage() | Automatically crops the current page |
job.bookcropCurrPage() | |
job.doUnsharpMaskCurrPage(5, 1.0) | |
job.kittlerBinarizeCurrPage() | Binarizes the current page using the Kittler algorithm |
job.otsuBinarizeCurrPage() | Binarizes the current page using the OTSU method |
job.sauvolaBinarizeCurrPage() | Binarizes the current page using the Sauvola method |
job.removeRingBinderHolesCurrPage() | Removes copied ring binder holes |
job.findBookFoldCurrPage() | Detects book folds on the pages |
*Information about the user is only saved when the corresponding function ’save user name: if active, save user name in job structure’ is activated in a workflow. The function is deactivated by default