It's not a new idea; a lot of other people have thought of it. Unfortunately, AFAIK it's not possible, and even if it were, the IR port on your notebook likely wouldn't be powerful enough to go beyond ...
For today's how-to we spent some time rummaging around in our parts box to build a serial IR remote interface for our PC. We took a few pieces from various designs to come up our own, built ...