beautypg.com

1 commands for message window (msg=...) – Kofax Communication Server 9.1.1 User Manual

Page 163

background image

Client Applications

Administrato

r‘s Manual Version 9.1.1

©Kofax, Inc.

163/204

The advantage is that the user need not change to TCfW to get for example a part of the
image into the zoom window. All these features of the message window can be controlled by
another application.

16.4.1 Commands for Message Window (MSG=...)

The following list of DDE commands only works if TCfW is started and a message window is
active. The DDE commands always act on the last message that had the focus. If more than
one message is opened the last active message reacts to the DDE commands. Whether the
message was opened manually or automatically (in the distributor mode), does not influence
the DDE commands.

All message window related DDE commands have to begin with ‗MSG=‘ followed by the
command keyword. (e.g. MSG=IMAGEMODE)

Command

Description

TXTMODE

Message window is displayed in text mode

IMGMODE

Message window is displayed in image mode

CLOSE

Closes the active message. Does not suppress any
messages like ‗Message not saved ...‘. Message stays in
the distributor queue.

TERMINATE

Message is removed from the distributor queue.
Command returns ‗Ok‘ on success or ‗NOk‘ in case of
problems.

SEND

Sends the active message

PRINT

Opens the print window

PAGEUP

Shows the previous screen of the message (image and
text mode)

PAGEDOWN

Shows the next screen of the message (image and text
mode)

ZOOMIN

Zoom in once (image mode only)

ZOOMOUT

Zoom out once (image mode only)

FLIP

Rotate clockwise 180 degrees (image mode only)

ROTATE

Rotate 90 degrees (image mode only)

OPTIMIZE

Optimized image view (image mode only)

FULLPAGE

Show full page (image mode only)

SHOWPAGE,nnn

Positions the viewer on page nnn. 0 shows first page with
header, 1 shows first page without header (image mode
only)

ZOOMWINDOW,ON

Starts the zoom window in invisible mode and returns the
windows handle. This handle can then be used to size and
position the window and to change between visible and
invisible by means of windows API functions (image mode
only).

ZOOMWINDOW,OFF

Closes the zoom window (image mode only)

ZOOMREFERENCE

Sets the basis for the zoom factor. For example if the
message

is

viewed

in

full

page

mode

and

ZOOMREFERENCE is executed a zoom factor of 100
references to this representation.

IMAGEVIEW,x,y,factor

Sets the x and y position in millimeter and the zoom factor
(100 = 1/1) in the main image window (image mode only).

IMAGEVIEWZOOM,x,y,factor

Sets the x and y position in millimeter and the zoom factor
(100 = 1/1) in the zoom window (image mode only).

IMAGEVIEW,IMAGEVIEWZOOM

The x and y positions are specified in millimeters from the
upper left corner of the original page. An original A4 fax
page is 21cm * 29cm. So if the lower half should be