Adobe 65030365 - FrameMaker - PC Manual page 479

Scripting guide
Hide thumbs Also See for 65030365 - FrameMaker - PC:
Table of Contents

Advertisement

ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Returns
int
Syntax
Copy(flags)
Parameters
Parameter name
flags
Cut
Description
Cuts the current selection to the FrameMaker Clipboard.
If the value of the flags parameter is 0, the method suppresses any interactive alerts or warnings that arise.
You can OR the following values into flags:
Flags
Constants.FF_INTERACTIVE (0x0001)
Constants.FF_CUT_TBL_CELLS (0x0002)
Constants.FF_VISIBLE_ONLY (0x0010)
Constants.FF_DONT_DELETE_HIDDEN_TEXT (0x0004)
The
Constants.FF_INTERACTIVE (0x0001)
Constants.FF_INTERACTIVE (0x0001)| Constants.FF_DONT_DELETE_HIDDEN_TEXT (0x0004)
contains hidden text, then FrameMaker allows the user to choose whether to delete the hidden text or retain it.
The method returns
FE_Success
:
FA_errno
Error
Constants.FE_BadDocId (-2)
Constants.FE_WrongProduct (-60)
Constants.FE_BadSelectionForOperation (-59)
Constants.FE_Canceled (-44)
Constants.FE_BadOperation (-27)
Returns
int
Syntax
Cut(flags)
Data Type
Optional
int
No
Meaning
Prompt user with dialog or alert boxes that arise.
Remove cut table cells.
Cut only the visible portion of the selection.
Do not cut hidden text.
flag takes precedence over other flags. If you specify
if it succeeds. On failure, the method returns one of the following values to
Reason
Invalid document.
The current FrameMaker version does not support the requested operation
The Selection doesn't support the requested operation.
The User or parameters canceled the operation.
The parameters specified an invalid operation.
Last updated 9/26/2011
Description
Bit field that specifies how to copy the text and how to handle
interactive alerts. For default settings, specify 0.
471
and the selection

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 10

Table of Contents