Log in

View Full Version : Sending Special Letters



caused
10-08-2012, 03:49 PM
SendKeys Works fine, but it fails with special letters like öäüÖÄÜ and such.

Is there a workaround to let it send those letters. I tried to use chr and ord, but ord also fails to convert some letters. like ord('ö'); <- fails :/ ...

Any way to send such letters with simba, without manually typing like 'W'+chr(123)+'rd'; ??

Brandon
10-08-2012, 04:27 PM
Simba doesn't handle WideCharacters very well. I remember mentioning this a while back but meh.. No one paid attention.

You can always try something like:

F: WideString;

F := 'ö';
writeln(F); TypeSend(F);

I doubt the typesend will work but you never know.

litoris
10-08-2012, 05:15 PM
AFAIK you can use #(code) as strings if you know what the code for the letter is. Chris or someone else had posted a chart a while ago.

masterBB
10-08-2012, 08:20 PM
For some reason simba only supports typing the first 128 chars. Looked into the source but can't find the reason. Will comment when I know more.