SRL Archive - FAQ

Norwegian keyboard layout + Simba = Fail?


Emaziz

2011-02-04 17:17:35

Hello!

When I use any typing functions with Simba it will output another symbol than that I entered. Example: sendkeys(':=?') outputs '.0+'. That is wrong! With SCAR this has never been an issue.

Anyone knows what the problem may be, and even better how to fix it? :)

i luffs yeww

2011-02-04 17:29:15

Huh. I've never thought about this before, but I guess if your system has the default layout as Norwegian it would type the Norwegian characters for those keys. To fix this you have to do the US equivalent key, I guess? :x

nielsie95

2011-02-04 17:48:44

This is a known problem. Change string s in TypeSendEx in text.scar:


S:= 'ABCDEFGHIJKLMNOPQRSTUVWXZ' + '~!@#$%^&*()_+{}|:"<>?';
//Change it to match the characters that need a shift on your keyboard

moparisthebest

2011-02-04 18:09:44

Why would the keyboard layout matter? I believe it works fine for me, and I use a dvorak layout.

Wizzup?

2011-02-04 18:37:20

From: moparisthebest
Why would the keyboard layout matter? I believe it works fine for me, and I use a dvorak layout.


Does dvorak also change numbers? I forgot. The main issue is with shift+key combo's, afaik.

Anyway, yeah. This is a known bug; SCAR hasn't had support for it for a long time either but it should be made eventually. Don't know how hard it is for Windows. :)

Emaziz

2011-02-04 20:07:52

Norwegian keyboards has almost all of the symbols at different locations than american, besides we're missing a button at one line and have 2 extra at another line.. Such mess. :) Thanks for the help :)

moparisthebest

2011-02-10 17:46:08

From: Wizzup?
Does dvorak also change numbers? I forgot. The main issue is with shift+key combo's, afaik.

Anyway, yeah. This is a known bug; SCAR hasn't had support for it for a long time either but it should be made eventually. Don't know how hard it is for Windows. :)


Oh, no, the numbers are all in the same location.

Wizzup?

2011-02-19 05:28:47

From: moparisthebest
Oh, no, the numbers are all in the same location.


But the symbols aren't; 2 is not '@', etc. (Or at least the symbols aren't in the case of Norwegian layouts)

Gu3st...

2011-02-19 06:53:18

From: Wizzup?
But the symbols aren't; 2 is not '@', etc. (Or at least the symbols aren't in the case of Norwegian layouts)
Yes, and we have æøå too instead of ';[

also, nielsi95; this happens with Sendkeys too, not only typesend

nielsie95

2011-02-19 07:06:52

I know, but that one is a bit harder to fix ;)

moparisthebest

2011-02-21 03:07:47

From: Wizzup?
But the symbols aren't; 2 is not '@', etc. (Or at least the symbols aren't in the case of Norwegian layouts)


Yes, I meant in dvorak all the numbers and symbols are the same. Didn't realize that was the issue with the norwegian keyboard.