
657
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
Returns
PropVals
Syntax
GetOpenDefaultParams()
GetPropIndex
Description
Gets the index of a property-value pair (PropVal structure) within a property list.
GetPropIndex(
) is a convenience
routine that makes it easier to manipulate the properties in a property list.
The method returns the index (in the property list) of the property’s
PropVal
structure, or
Constants.FE_BadPropNum (-4)
if an error occurs.
Returns
int
Syntax
GetPropIndex(propVals, propNum)
Parameters
GetSaveDefaultParams
Description
Gets a default property list that you can use to call
Save()
.
On success, the method returns a
PropVals
list as shown in the following table.
The first value listed next to each property is the value that
GetSaveDefaultParams()
assigns to the property. The
other values are values that you can assign to the property as desired.
Parameter name
Data Type
Optional
Description
propVals
PropVals
No
The property list.
propNum
int
No
The property for which the index is to be retrieved.
Property
Values
AlertUserAboutFailure
Specifies whether to notify user if something unusual happens during the Save
operation. The value is one of:
•
False: Do not notify user.
•
True: Notify user.