For purposes of user login.
I can tigger a script with OnObjectModify or OnObjectKeystroke, but how do I tell if the last keybard entry was a return or enter key?
You can use this function: Get(TriggerKeystroke)
FileMaker Pro 16 Help
You'd use this to check to see if the code of the last keystroke is 13 (for return). Exit the script true if it isn't
The unicode points for enter = 10.
PS: Everyone, if you forget the "Code" function in the If statement, it does not work. The Code function gets the unicode poinds which is required to evaluate the TriggerKeystroke.
If [ Code ( Get(TriggerKeystroke) ) = 13 ]
How so? Are you creating your own login routine?
Retrieving data ...