SRL Archive - Help

Typing ASCII characters in Simba


neeger

2012-10-07 18:17:12

Hey, need some help with ASCII character, need to type, @, -, /, etc, but can't seem to get Simba tu type, for @ should work this?

program new;
begin
Keydown(64);

end.

but it doeasn't type anything, help me out.
I remember I got it to work when I used Scar years back. used something like{100} etc.

Rezozo

2012-10-07 18:22:03

^^^OK…

On Topic: Damn, I forgot what it was! Why do you need it though? Maybe I can find a work around

Ian

2012-10-07 18:23:30

From: Rezozo
^^^OK…

On Topic: Damn, I forgot what it was! Why do you need it though? Maybe I can find a work around


Just trying to continue his sig lyrics, couldn't resist. :p

neeger

2012-10-07 18:48:40

Yeah, BMWxi a good movie!
Any ideas about character typing? :D

Rezozo

2012-10-07 18:51:44

^^^Could you answer the Question lol, do you have to do it this way? What do you need it for?

neeger

2012-10-07 19:07:15

From: Rezozo
^^^Could you answer the Question lol, do you have to do it this way? What do you need it for?


Sry, just need to type some characters, like@ etc, "this way"? Tell me about another ways then :D

Rezozo

2012-10-07 19:14:15

Ok, now I am just confused…
If you want Simba to output the @ sign, just do:

Writeln('@');

If you are talking about RS, then I think it is a little different. First post which one lol

neeger

2012-10-07 19:38:51

I have to type some forms, need @ for email. I had one old script, but can't find it atm, and it only worked with scar

Footy

2012-10-07 19:42:06

typesend('@');

Just tested and confirmed. It will type @ and press enter. Is that what you need?

Edit: This will just type the characters, not hit enter.

SendKeys('@', 30 + Random(30), 30 + Random(30));

neeger

2012-10-07 20:59:34

Yeah works only if you have EN keyboard(keyboard set to EN), what I do if I done't have one?
Try for typesend('@ / - * ');
Does it type all correctly?

I'm getting: " / - *
And if I change to EN then: @ & ] |

Footy

2012-10-07 21:17:27

Thats really weird… I just tried

program new;
{$i srl/srl.simba}



begin
SetupSRL
sendkeys('@ / - *', 60, 60);
end.


and got @ / - *… Maybe someone else can help you.