Functions Reference

Table Of Contents
Example
Returns the number 9 when Shift+Alt is pressed on a computer running Windows.
You could use this function in a script that includes a custom dialog box script step (with
an OK and Cancel button) to perform some special action if the user presses the Alt (or
Option) key while clicking OK.
Get(ActiveRepetitionNumber)
Format
Get(ActiveRepetitionNumber)
Parameter
None
Data type returned
number
Description
Returns a number representing the active repetition of a repeating field (the repetition that
currently contains the cursor). The first repetition is 1. If the current field isn’t a repeating
field, the function returns 1.
See FileMaker Pro help for information about running scripts in client/server and
peer-to-peer environments.
Example
Returns 5 when the cursor is in the fifth repetition of a repeating field.
Get(ActiveSelectionSize)
Format
Get(ActiveSelectionSize)
Parameter
None
Data type returned
number
Description
Returns a number representing how many characters are selected. Returns 0 if there is
no selection.