SRL Archive - Help

Function Keys


YoHoJo

2011-11-10 20:56:51

How do I make SRL push the function keys bro?

i luffs yeww

2011-11-10 21:17:36

KeyDown(VK_F1);?

YoHoJo

2011-11-10 21:20:48

Any ones in SRL that do it humanlike?
Or should I just
KeyDown(VK_F1)
Wait(How Long Do Humans Hold?);
KeyDUp(VK_F1);

How long should I make the wait?

TomTuff

2011-11-10 21:21:57

From: YoHoJo
Any ones in SRL that do it humanlike?
Or should I just
KeyDown(VK_F1)
Wait(How Long Do Humans Hold?);
KeyDUp(VK_F1);

How long should I make the wait?


For the length, I'd look at SendKeysEx and see what the wait time is, and use about 1/2 - 2/3 of that length. But yeah, pretty much like that.

YoHoJo

2011-11-10 21:22:54

TomTuff, I was going to use same wait as SendKeys, but yea thanks that works.

YoHoJo

2011-11-10 21:34:51

Can't find SendKeysEx… :/
Anyone suggest a wait I should put between KeyDown and KeyUp?

KingKong

2011-11-10 21:50:48

20-30 ms?

YoHoJo

2011-11-10 21:58:38

I found the TypeSend function, all good now, thanks!