The pauses work for me. To test them, replace the KEYs in your macro with KEY_0. (It does nothing, but you have a feedback):
KEY_0+10000+KEY_0+10000+KEY_0+10000+KEY_0+10000+KEY_0+10000+KEY_0
You'll see that the pause works. I don't understand why it doesn't work for you.
I forgot to say that you have to relaunch the program to take the edited config file into account. (I've tried to add a "Reload config" option in the popup menu, but it's too difficult for a little advantage.)
I suggest to use the "Send raw key" window to test your macro. When it is OK, copy it in the config file to assign it to a button or menu, and restart the program.
BTW, a macro to select a function in the menu of the TV is difficult to do, as the menu has disabled options in some circumstances, and that options are automatically skipped. So, sending the right number of cursor keys is difficult, as it depends of the current state of the TV. For example, I suppose that your macro should select the next Antenna mode (cable, satellite...), but it will not work when you are recording a TV program, as the Channel menu is disabled, and your macro will go to the Network menu instead. Also, the durations of the pauses depend of the current load of the TV. When you are copying recordings via FTP, many pauses that work fine in normal circumstances are too short.
Try KEY_DTV and KEY_ANTENNA. I don't know if there is a key to select the Satellite antenna.
Here is the menu I've defined to select the sources I need:
Code: Select all
set ::menu_remote(Source) {
KEY_DTV {TV}
KEY_ANTENA {TV: Antena}
KEY_EXT20 {HDMI 1}
KEY_AUTO_ARC_PIP_WIDE {HDMI 2}
KEY_AUTO_ARC_PIP_RIGHT_BOTTOM {HDMI 3}
KEY_AUTO_ARC_AUTOCOLOR_FAIL {HDMI 4}
KEY_HDMI {Next HDMI}
- -
KEY_TOOLS+KEY_ENTER+KEY_ENTER {AnyNet+}
KEY_COMPONENT1 {Component}
KEY_AV1 {Ext: AV}
KEY_PCMODE {PC}
KEY_DMA {DMA}
- -
KEY_TV_MODE {TV mode}
KEY_CATV_MODE {Cable TV mode}
KEY_DVD_MODE {DVD mode}
KEY_VCR_MODE {VCR mode}
KEY_STB_MODE {STB mode}
}
Honestly, I don't know if the KEY_DMA and the 5 KEY_*_MODE are really useful, but I have decided to leave them in the menu to test them easily.