Log in

View Full Version : Typing ASCII characters in Simba



neeger
10-07-2012, 10:17 PM
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
10-07-2012, 10:22 PM
^^^OK...

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

Ian
10-07-2012, 10:23 PM
^^^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
10-07-2012, 10:48 PM
Yeah, BMWxi a good movie!
Any ideas about character typing? :D

Rezozo
10-07-2012, 10:51 PM
^^^Could you answer the Question lol, do you have to do it this way? What do you need it for?

neeger
10-07-2012, 11:07 PM
^^^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
10-07-2012, 11:14 PM
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
10-07-2012, 11:38 PM
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
10-07-2012, 11:42 PM
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
10-08-2012, 12:59 AM
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
10-08-2012, 01:17 AM
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.