No DLLs needed.
Code:
Sendkey {
  var %a = $+(SendKeys,$ticks)
  .comopen %a WScript.Shell 
  if (!$comerr) { 
    var %b = $com(%a,SendKeys,3,bstr,$1-) 
    .comclose %a
    return %b
  }
  return 0
}


Nothing...