how to add more keys to function "GetLastKeyModifiers"

hello all!

In servoy v 3.5.12, there are 4 predefined special keys in this function. How can I add more? to facilitate ‘special access’ for functions when I do not want to elevate a persons security level? This way, I can allow for limited rights on specific tasks.

I would just just use the 4 predifined keys, but would like to change “on demand” if I believe that key sequence has been misused. This would give me quite a few choices to prevent misaligned fingers from stumbling on the special function.

I am working on creating a password defined script that will replace this, but for now, to be able to impliment this would be great.

Thanks in advance for any suggestions

I don’t think it is possible to use other keys than those four in servoy 3.5.

Please consider upgrading, in Servoy 5 and 6 you can trigger methods on almost any keypress using plugins.window.createShortcut().