Just curious, do any of the keyboard functions work for typing into the runescape client for example:

Simba Code:
If FindDTM(CosmicRune, x, y, MSX1, MSY1, MSX2, MSY2) then
begin
   MMouse(x, y, 6, 6, false);
   ChooseOption('Withdraw-X);
   Wait(RandomRange(400, 600));
   SendKeys('
3', 100);
end;

Compiled yes, works on runescape no, any way around this(another method)? Thanks