You need to look into a layout script trigger for "onLayoutKeystroke".
Then you will need to script something that says "if ( Get(TriggerKeystroke) = 10 )
10 is the code that works on windows for the enter key, it might be different on mac.
You could always do "show custom dialog - get(triggerKeystroke)" to display the code after pressing the enter key.
Thanks for your response.
But when I do "show custom dialog - get(triggerKeystroke)" and press enter on iPad or windows it shows nothing.
and the same is for Spacebar and backspace, so I used "if ( Get(TriggerKeystroke) ="") but that also not worked.
1 of 1 people found this helpful
Get ( TriggerKeystroke ) returns the actual keystroke. You want to wrap it in the Code() function to get the numerical value.
If [ ( Code ( Get ( TriggerKeystroke ) ) = 10 ]
Thanks David it worked.
Can the text of "return" key in iPad keyboard be changed to "Go"?