Element17
2013-06-06 02:39:50
How do I send 'enter' while using sendkeys in simba? I could Google it to find the number I guess.
2013-06-06 02:39:50
2013-06-06 02:50:51
2013-06-06 03:17:50
From: FlightVK_ENTER doesn't exist, keycode 13 is declared as "VK_RETURN" (would be good to have it as VK_ENTER aswell, though!) :p
You could use "TypeByte(VK_ENTER);".
begin
PressKey(VK_RETURN);
end.begin
KeyDown(VK_RETURN);
Wait(35 + Random(40)); // Replace with your own custom wait times..
KeyUp(VK_RETURN);
end.
2013-06-06 03:28:58
From: Janilabo
VK_ENTER doesn't exist, keycode 13 is declared as "VK_RETURN" (would be good to have it as VK_ENTER aswell, though!) :p
Couple other ways would be…
1. Using PressKey:begin
PressKey(VK_RETURN);
end.
2. KeyDown() + KeyUp() combination, with which you can use your own custom wait between the down and up parts:begin
KeyDown(VK_RETURN);
Wait(35 + Random(40)); // Replace with your own custom wait times..
KeyUp(VK_RETURN);
end.
2013-06-06 04:08:11
From: SjoeAhhhh! Are those in SRL include (I don't use Simba with SRL include)?
TypeSendEx uses TypeByte(VK_ENTER) :p
2013-06-06 15:03:55
From: Flight
You could use "TypeByte(VK_ENTER);".