In the list “Tastatur:drückt”(left) you can see, which keys of the right list are pressed. BUG: If you press #-Shift and release then the #-key first, scratch will think you press still “ ‘ ” (or whatever is Shift-#, in my case it’s “ Test ”). Maybe it's a BUG you can control them (inclusive the only german keys “ä”, “ö”, “ü”) or that scratch doesn't recognise you released “#” by pressing shift. (posted at https://scratch.mit.edu/discuss/topic/343965/?page=1#post-3472533)
I copied some scripts of a project I am working at. There I found the BUG.