Need Assistance with Keyboard Simulation

I'm using Delphi and I need to simulate several keyboard key strokes
programitically, namely right arrow, left arrow, home and end.

Can anyone Assist me?

Thank you and please respond to soft...@flash.net

James Tallent