Adobe 65030365 - FrameMaker - PC Manual page 658

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

Advertisement

ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Constant
Constants.FF_ALERT_CONTINUE_WARN (3)
Constants.FF_ALERT_YES_DEFAULT (4)
Constants.FF_ALERT_NO_DEFAULT (5)
The method returns 0 if the user clicked OK, Continue, or Yes.
The method returns -1 if the user clicked Cancel or No.
Returns
int
Syntax
Alert(message, type)
Parameters
Parameter name
message
type
Alive
Description
Checks whether the current asynchronous client has a connection with a FrameMaker process. Call this method after
registering the asynchronous client using
The method returns a positive integer if there is a current connection to a FrameMaker process. Otherwise it returns 0.
Returns
int
Syntax
Alive()
CallClient
Description
Allows a client to call another client. The method is useful for calling FrameMaker clients, such as the structure
generator and the element catalog manager.
On success, the method returns
Note: Calls to the structure generator always return FE_Success no matter what string is passed to it as an argument.
On failure, the method assigns the following value to
Value
Displays the OK button with a warning indicator.
Displays the Yes and No buttons; Yes is the default.
Displays the Yes and No buttons; No is the default.
Data Type
Optional
string
No
No
int
WinConnectSession()
or the value specified by the target client's last call to
FE_Success
FA_errno
Last updated 9/26/2011
Description
The message that appears in the dialog box. Messages longer
than 255 characters, are truncated.
The dialog box type.
.
:
650
.
ReturnValue()

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 10

Table of Contents