You can also learn sequences using learn a command, in "RAW" mode.
I needed a sequence to toggle the closed captions on my Dish Network receiver. Unfortunately, it takes 9 button presses to navigate thru the menu to do this. Since the software limits you to 5 commands in a sequence, this meant I had to use 2 buttons just to turn the CC on.
After a search of the forums, I found my solution; using the RAW mode. In this mode, the remote learns the command just how you press it. So if you hold one button for a long time, it learns that. If you push several buttons quickly, it learns all of those.
I created a new command called CC1 and it RAW mode, taught it the sequence of MENU>8>8>1>LeftArrow. The next one was CC2 and was the commands SELECT>RighArrow>SELECT>ViewLiveTV.
Now I had the 9 commands learned into 2 buttons. Then I created a sequence and used the 2 commands CC1 and CC2 to create a button I named CC Toggle.
It took a few tries to get it right, but now I can toggle the Closed Captions with one button press!
My max sequence learned in RAW mode seems to be limited to 5 button presses, but I've read where others have gotten it to learn more at once.
Complicated? Yes! but elegant when you get it to work.