Are you allowing enough time between steps for the device to power up and then source select?
Using the original remote, turn on the TV and then begin pressing the input button and see how long it takes the TV to accept the command. On some sets this may be as long as 10-15 seconds!
Just as cb1 one suggested, using the receiver to switch inputs is much easier.
you can email me the file and I'll look at it if you want
Brian
feed a dog and he will not bite you. this is the principal difference between a man and a dog. Mark Twain