Hi, Mans, > In FF 4.xx the keyboardlayout seems to change - I'd like to use a > danish keyboardlayout - and my system *IS* setup to use it already, > however it seems that the ShortcutPlugin alters it to an american or > english keyboard, when in editmode...
Ah, I suppose a non-english keyboard would be another caveat! I don't know very much about how non-English layouts work, but I suspect your keyboard sends different key codes. I don't really have a good way to play with this, but maybe this information will help you modify it: The plugin figures out what key is pressed with String.fromCharCode(code).toLowerCase(); where code is the keyCode property of the key event, which should return the Unicode equivalent of the key pressed. This is compared to the string you define in ShortcutKeysPlugin - so if you've defined Ctrl+B, the plugin compares the string "b" to the result of the expression above for the key pressed. For special keys, keywords are hard-coded to key codes in ShortcutPlugin (e.g., 'return':13 means that the keyword 'return' corresponds to a keyCode of 13). So, if you can figure out what your keyboard sends, you might be able to change ShortcutPlugin to use it appropriately. This site: http://www.w3.org/2002/09/tests/keys.html has a little utililty to help you figure out what your keyboard is sending for any keypress. Hope that's some help, Jon -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

