oh well, I feel very stupid. Let's try to make it work...
I declare in a startup action:
then in an action dealing with onkeydown events I have:
So every time the shift key is pressed, a new value from the switch action list is traced.
In the log I get nothing else than original declared value 0.
Missing something I guess...