Adobe 65030365 - FrameMaker - PC Manual page 694

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

Advertisement

ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Error
Constants.FE_Transport (-1)
Returns
int
Syntax
ScrollBox(title, stringslist, _default)
Parameters
Parameter name
title
stringslist
_default
ChooseFile
Description
Displays dialog boxes similar to a FrameMaker's Open and Save dialog boxes. The method displays directories and
files in a scroll list and allows the user to choose a file or directory.
You can set the following values for
Mode Constant
Constants.FV_ChooseSelect (0)
Constants.FV_ChooseOpen (1)
Constants.FV_ChooseSave (2)
Constants.FV_ChooseOpenDir (3)
The method returns 0 if the user clicked Open, Select, Use, or Save; a nonzero value if the user clicked Cancel or an
error occurred.
On failure, the method assigns the following value to
Error
Constants.FE_Transport (-1)
Returns
int
Syntax
ChooseFile(title, directory, stuffVal, mode)
Reason
The user clicked Cancel, or a transport error occurred.
Data Type
Optional
string
No
No
Strings
int
No
:
mode
Dialog Box Type
Dialog box that allows the user to choose a file by clicking Select.It provides an input field into
which the user can type a filename.
Dialog box that allows the user to choose a file by clicking Open.It provides an input field into which
the user can type a filename.
Dialog box that allows the user to save a file. It provides Save and Cancel buttons and an input field.
Dialog box that allows the user to choose a directory.
FA_errno
Reason
A transport error occurred.
Last updated 9/26/2011
Description
The title that appears on the dialog box.
The list of items to appear in the scroll list.
The index of the item that is selected when the dialog box first
appears. For no default, specify -1.
:
686

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 10

Table of Contents