Work automation and custom user’s command creation

There are several ways to automate work with WiseImage and/or create user’s custom commands. Each of them requires some programming knowledge and skills.
Let’s start from the simplest.

Autocorrect command

When starting this command a set of commands is applied to the raster image(s) in the current document.
For example, suppose a user wants to rotate all raster images by 90 degrees and remove holes, and then deskew the image in auto mode. These three commands (Autocorrect command setting) can be activated; the three operations are executed by one click on Autocorrect. The list of commands is defined and commands turned on (or off) with the Autocorrection section of the Preferences dialog.
The commands used with autocorrection which are executed with no parameters mainly refer to processing the whole raster image. The following commands are available: monochrome filters – Remove Speckles, Remove Holes, processing raster commands – Deskew, Crop, Fit to paper, Rotate 90CCW, Rotate 180, Rotate 90 CW, and also Equalize for auto correcting of colour image brightness.
 For more information on the Autocorrect command see description on Auto Correction.

WiseImage Script

A WiseImage script lists WiseImage commands in specified order. It is written to a text file (with CSF extension).
When executing such script, WiseImage opens raster images included in the script, applies the commands to them and saves the changes made.
A special visual tool Script Studio is designed for creating, tuning and starting scripts. To launch WiseImage script, use the Run Script command or create a custom user command button or menu item.
The script can be started from the Windows command line, i.e. use Windows batch file to start WiseImage and execute script. If starting from the command line, then the program window might not be displayed (hidden mode).
Scanning commands used in scripts can work with devices designed for auto-supply of scanned originals (reproscan devices).
There is no need to attend the WiseImage script execution – the computer can process data on its own, which saves operator time.

WiseImage Batch

WiseImage batch operates with several WiseImage scripts applied in sequence to a specified group of raster images. Batch is convenient to apply WiseImage scripts to a great number of raster images, located in different folders.
A WiseImage batch file is composed with the Batch Studio command.
Using the batch mode allows users to avoid changing paths in prepared scripts and create scripts with image processing commands only (without Open, Insert).

WiseImage Open Architecture (WIOA)

WiseImage has an open architecture (WIOA), which is used to create custom user commands using Java Script and Visual Basic Script languages.
WIOA creates scripts for more flexible tasks than those of WiseImage scripts (which are more oriented to batch processing of raster images). WIOA provides a powerful mechanism for customizing WiseImage, creating custom commands and close integration with other applications which are accessible through ActiveX (for example with Microsoft Office applications). Programming in JScript and VBScript requires a fundamental understanding of ActiveX Automation.
The Active Script Studio tool is used to create, edit and start WIOA scripts. To launch a WIOA script, use the Run Script command or create a custom user command button or menu item.

DDE

The DDE-interface of WiseImage represents the server and allows other applications to use its functions .With DDE it is possible to interact with 16-bit applications which can’t support OLE Automation.

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment