Functions Reference

Table Of Contents
FILEMAKER FUNCTIONS REFERENCE 148
Mac OS: Command key combinations do not activate script triggers.
For information on how functions evaluate differently on the host versus the client, search
the FileMaker Knowledge Base available at
http://help.filemaker.com.
Examples
The following example will only display a custom dialog box when lowercase “a” is
entered:
If [Get(TriggerKeystroke)=“a” and Get(TriggerModifierKeys)=0]
Show Custom Dialog [“You entered \”a\”.”]
End If
The value 9 is returned when Shift-Option is pressed on a computer running the Mac OS. If
the Option and Shift keys are pressed on a Mac when a script is triggered,
Get(TriggerModifierKeys) returns 9, regardless of which modifier keys have been pressed
between when the trigger was activated and when the script runs.
Related topics
Contents
Functions reference (alphabetical list)
Get(TriggerTargetTabPanel)
Purpose
Returns the index and the object name of the target tab panel (the tab panel to be switched to) when
the OnTabSwitch script trigger is activated.
Format
Get(TriggerTargetTabPanel)
Parameters
None
Data type returned
text
Originated in
FileMaker Pro 12.0
Description
Use with the Get(TriggerCurrentTabPanel) function. Returns an index value, starting from 1, when
running a script triggered by the OnTabSwitch script trigger, and the object name assigned to the tab
panel. Returns 0 if the tab panel is invalid or if Get(TriggerTargetTabPanel) is not used with the
OnTabSwitch script trigger.
You can use the GetValue function to extract the value you want to use from the index value
returned by Get(TriggerTargetTabPanel).