ARexx Command List
The following ARexx command list shows all commands that ScanTek supports.
The ARexx commands consists of a Cmd Name and up to several Cmd Parameter.
The Cmd Name and the Cmd Parameter are checked for lexical and semantic
syntax.
You have to provide the library "rexxsyslib.library", which is part of a
standard ARexx installation. You must also have started the program RexxMast
if you want to use ARexx.
No error encountered during syntax and execution of command:
Systemvariable "rc" is set to 0
Systemvariable "Result" is set to a certain value if neccessary.
Error encountered during syntax and execution of command:
Systemvariable "rc" is set to a value greater than 100
Systemvariable "Result" is not set.
Systemvariable "SCANTEK.LASTERROR" contains an error string
You can also take a look at the ARexx Sample Script that
is described here and that is located in the Rexx Directory of your
ScanTek directory.
If you have created a ScanTek related ARexx script then feel free to send
it to me . It may be very useful for other people as well.
If you have any suggestions for an ARexx script then send it to me.
Cmd Name Cmd Parameter
---------------------------------------------------------------------------
SCAN none
Scan an image with the current settings.
PREVIEW none
Scan the preview picture and display it in the
Preview Window .
FRAMESIZE Orig_unit X-origin Y-origin Dim_unit Width Height Keep_size
Set the position and size of the scanning frame. This
scanning frame defines the contents of a scanned image.
Orig_unit: ("INCH", "CM", "MM")
X-origin: Float value that is related to the Orig_unit
Y-origin: Float value that is related to the Orig_unit
Dim_unit: ("INCH", "CM", "MM", "PIXEL")
Width: Float value that is related to the Dim_unit
Height: Float value that is related to the Dim_unit
Keep_size: ("KEEP_SIZE", "IGNORE_SIZE")
See Adjust Frame and Main Control for details.
FRAMEFULL none
Set the scanning frame to the maximum size.
SCANOPT Scan_mode Resolution Use_LuT Use_ext_prog Image_filename
Set the global parameters for the next scan.
Scan_mode: ("BW", "HT", "COLOR", "RED", "GREEN", "BLUE", "GREY")
Resolution: Integer dpi value
Use_Lut: ("NO_LUT", "USE_LUT")
Use_ext_prog: ("NO_EXT_PROG", "USE_EXT_PROG")
Image_filename: (Device:Path/Name)
See Main Control for details.
COLOROPT Exptime Contrast Brightness Speed Shadow Midtone Highlight
REDOPT Exptime Contrast Brightness Speed Shadow Midtone Highlight
GREENOPT Exptime Contrast Brightness Speed Shadow Midtone Highlight
BLUEOPT Exptime Contrast Brightness Speed Shadow Midtone Highlight
GREYOPT Exptime Contrast Brightness Speed Shadow Midtone Highlight
All parameters are integer values. The supported ranges can be seen
in the Color Options .
BWOPT BW_threshold Speed
All parameters are integer values. The supported ranges can be seen
in the Black&White Options .
HTOPT Halftone_pattern Speed
All parameters are integer values. The supported ranges can be seen
in the Halftone Options .
MISCOPT Reverse_BW Use_own_BW Reverse_color
Set of some miscellaneous values.
Reverse_BW: ("NO_REV_BW", "USE_REV_BW")
Use_own_BW: ("NO_OWN_BW", "USE_OWN_BW")
Reverse_color: ("NO_REV_COLOR", "USE_REV_COLOR")
See Misc Options for details.
GAMMALUT Lookup_table Gammavalue
STEPLUT Lookup_table Stepcount
NORMLUT Lookup_table
Set shape of Look-Up Curves.
Lookup_table: ("ALL", "RED", "GREEN", "BLUE", "GREY")
Gammavalue: Gamma float value
Stepcount: Integer step count value
See Look-Up Control for details.
LOADLUT Lookup_table_filename
SAVELUT Lookup_table_filename
Load and save a set of Look-Up Curves (Tables).
Lookup_table_filename: (Device:Path/Name) of lookup-table
See Look-Up Control for details.
GETIMAGENAME none
Return value can be found in the specific <Result> variable.
--> Result: (Device:Path/Name) of current scanned picture
LOADCONFIG Config_filename
SAVECONFIG Config_filename
Load and save a full ScanTek configuration.
Config_filename: (Device:Path/Name) of config file
|
Do you have any suggestions or questions about ScanTek then email to
scantek@gmx.de |
|
Copyright 1996/97/98/2002 by Waldemar Zöhner V1.1