Triggering a Script on Enter, Return or Tab
I am trying to trigger a script when the user either hits the enter, tab or return key. I created a script that has the following:
If (Get ( TriggerKeystroke ) = 9 or //Tab Key
Get ( TriggerKeystroke ) = 10 or // Enter
Get ( TriggerKeystroke )= 13 // Retun
Perform Script (Name)
I then entered this script in the "Set Script Triggers" area for "OnObjectKeystroke".
The problem is, the "Get" function keeps returning a blank, not a value. Any thoughts on what I might be doing wrong?
I am running FMP13 client connected to a DB on the FMP Server.