Log in

View Full Version : Few Things



sm321
03-02-2012, 09:21 AM
I have a couple of questions:


What is the backspace key code? E.g. KeyDown(?);
How would you make Simba pick a waiting time randomly between Wait(1500-2500);


Thankyou :)

Sex
03-02-2012, 09:24 AM
VK_BACK or 8.

Wait(RandomRange(1500, 2501));

sm321
03-02-2012, 09:24 AM
VK_BACK or 8.

Wait(RandomRange(1500, 2500));

Thanks :) Would this work for

SendKeys('Hello',(RandomRange(400-600))

Sex
03-02-2012, 09:27 AM
Thanks :) Would this work for

SendKeys('Hello',(RandomRange(400-600))
Yes, of course. It will work as any integer parameter.

sm321
03-02-2012, 09:28 AM
Yes, of course. It will work as any integer parameter.

Thankyou :) How do you make it hold the backspace key down?

LordJashin
03-02-2012, 08:13 PM
Thankyou :) How do you make it hold the backspace key down?

All the answers you want are here (http://villavu.com/forum/showthread.php?t=58935), here (http://villavu.com/forum/showthread.php?t=52257), and here (http://docs.villavu.com/simba/scriptref/mouseandkeyboard.html). Search the forums or ask if you want to know anything else. If you want to do something with a script, try some more basic things, read, and reread the Simba beginner tutorial. Head over here (http://villavu.com/forum/forumdisplay.php?f=95) maybe.

The first three here's: Simba Beginner tut, Keycode[FAQ], and Simba Documentation on Mouse and Keyboard stuff