The easiest way is to fire a user event, and not try to simulate a key down event. Look at the example called "Programmatically Fire Events" in the example finder. It shows how to register and fire your own events.
___________________
Try to take over the world!