There is a product called OmniRemote which costs 20 US Dollars from
www.pacificneotek.com and allows you to use your Palm as a universal remote control.
Once you have purchased a copy, you can download for free the development kit for OmniRemote. You can then design your own application based around the IR recording/playback capabilities of OmniRemote. If you know someone who is an experienced computer programmer then they should be capable of writing it.