May 9, 201312 yr Hey guys Trying to implement some keyboard shortcuts into my database. Right now, for example, I'm trying to give the user a keyboard shortcut to close the active window and perform the other necessary scripts that I have run when the user clicks the "Close Window" button. I've managed to get the window to close after the ESC key is pressed: Set Variable [$code; Value:Code (Get(TriggerKeystroke))] If [$code = 27] Close Window End If However, I don't like that it's just the ESC (27) key on it's own. The ESC key is useful when the script is stuck in a loop, among other things. I am looking to use the key combinations Ctrl+Q (or Command+Q for Apple) to execute the "Close Window" script sequence. Is there a way to "capture" a key combination using a similar script as above?
May 9, 201312 yr http://www.filemaker.com/11help/html/func_ref2.32.81.html But also keep in mind that you may need to use a custom menu as well in some cases.
Create an account or sign in to comment