mburwin, thank you for responding. When I learn a new command to an existing button it wipes out all the old commands for that button and I can only add commands after the learned command and not before it. This gives me the incorrect order of events. The reason for this whole thing is as follows. I tried learning the command to a dummy button and when I press this button on the iPronto the command is executed correctly and the desired function is correct. Howver when I link to this button with a delay both before and after it, it functions differently. It appears to carry out the command either twice or very slowly or for too long a time. The effect of this is that it transfers input 1 to input 2 and then back to input 1. If I directly press the dummy button it transfers 1 to 2 which is correct. I thought that if I "learned" the command directly it would operat correctly.