SRL Archive - Help

Sending Special Letters


caused

2012-10-08 11:49:03

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

2012-10-08 12:27:59

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

2012-10-08 13:15:36

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

2012-10-08 16:20:50

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.