Key binding mac os


I'm trying to understand key binding. I've got a script widget and in the keyBinding property I would like to bind the shift + enter key. So when both pressed at the same time the script is executed. In the keyBinding property I entered:


what code do I need to put in the onKeyboard property to get this to work? Tried an exampled found on this forum but could not get this to work. Any help would be appreciated.


maybe How to detect if the shift key is pressed? - #5 by Greenman

shift+enter will do what you want @erietman

That simpel.... Thanks!