I want to use Sendkeys to do something like this

VB Code:
  1. If keycode = 68 Then
  2. SendKeys "hello"
  3. End If

The problem is thar i want this to work even if the form doesnt have focus. How should I go about doing this?