I stripped my attachment script of most of my code to simplify it for you (it was hundreds of lines long), and then added a few helpful comments. It was designed to handle two IRLincs, so watch for that. But I'll warn you, it was never intended to be shared with others, so it doesn't have a lot of the niceties of Matt's attachments, like creating necessary variables automatically for you, etc., or a decent set of "how to" comments. But everything is there, code-wise, for you to create some useful IR functionality. My unedited version controls lights, fires Actions, sets up my AV system, starts music playing from a choice of playlists, controls my furnace, controls my aquarium pumps and lights, brings up Mail on my TV screen, logs into Netflix, and on and on. Kinda cool all from just one universal remote!
You may need to muttle through it a bit, and you'll need to have an understanding of how to program an IRLinc and corresponding universal remote, etc., which it sounds like you already do.
Oh, and the code is setup to ignore long remote button presses, because I didn't want that. It just responds to quick button presses. But you could adjust that in the script if you need to.
And credit goes to "unknown" because I'm sure I lifted some of this from somewhere/someone else. I just don't remember from whom or where or which parts. Sorry 'bout that... but hey, share and share alike, right?
Have fun,
Mark
Oops, after all my "showin' off"... I don't know how to post an attachment!!
Can't seem to get the system to accept a script file or a ZIP. You can PM me with your Email and I'll shoot it over to you, or you can help me figure out how to post it...