is there a way to simulate a press of a key apart from the robot class (which i cant get to work)
is there a way to simulate a press of a key apart from the robot class (which i cant get to work)
Robot class? This is SCAR here, not java.
A simple Typesend would do for SCAR, but I have no idea for Java.
[QUOTE]<GoF`> oh no its Raymooond
<Raymooond> Heya
<GoF`> is it ray or some other ray?
<LeeLokHin> No idea
<LeeLokHin> Raymond, what's the game you like the most?
<Raymooond> Runescape
<-- LeeLokHin has kicked Raymooond from #srl (Faker.)[/QUOTE]
i need something that will simulate a click that will fulfil this
until(iskeydown('a'));

What do you mean ?
Something like :
KeyDown('a');
?
but that comes up as :
Line 874: [Error] (17080:13): Type mismatch in script C:\Users\Rob\Downloads\bilge2.scar
You want to repeat something until a key is pressed?
Ce ne sont que des gueux
Huh? i just want it to press a key
SendKeys('keys');
or
KeyDown(GetKeyCode('x'));
Wait(Random(100));
KeyUp(GetKeyCode('x'));
or
{.include SRL/SRL.scar}
...
Typesend('keys');
There are currently 1 users browsing this thread. (0 members and 1 guests)