Returns the characters that activated an OnObjectKeystroke or OnLayoutKeystroke script trigger.
Get ( TriggerKeystroke )
None
text
FileMaker Pro 10.0
Returns a value when running a script triggered by an OnObjectKeystroke script trigger or OnLayoutKeystroke script trigger or running a script called from the triggered script; otherwise, returns an empty string. Multiple characters may be returned when the input comes from an input method editor (IME).
•In FileMaker WebDirect, this function is not supported and returns an empty string.
The following code displays the text Processing input... when a carriage return is entered:
If [ Code ( Get(TriggerKeystroke) ) = 13 ]
Show Custom Dialog ["Processing input..."]
End If