View previous topic :: View next topic |
Author |
Message |
ElizabethD Advanced Member
Joined: 09 Feb 2004 Posts: 2348
|
Posted: Sat Aug 13, 2005 6:48 pm Post subject: 8910ext,IR6.15 when to Set transport keys-is there a trick? |
|
|
I lost transport keys in a macro while doing code-compacting improvements This is the macro for DVD. VCR and 2 others suffer as well.
DVD =DEV_DVD;Phantom1;XSHIFT-Phantom1
Phantom1 is your standard keysets except volume and transports.
Xshift-phantom1 is a macro calling another (SHIFT-Phantom1), but effectively it does
DEV_AUD;SET_VOL_KEYS;Dev_Cancel + SET_TRANS_KEYS.
Transport keys don't work. Everything else is fine. Any clues?
After lots of head banging and going in circles, I reverted to an older setup
DEV_DVD;Phantom1;SET_TRANS_KEYS;SHIFT-Phantom1
where shift-phantom1 just does the volume section and I got my transports back. But I have good reasons why I want it the other way.
What would explain the difference? It's not obvious to me. |
|
Back to top |
|
|
mtakahar Expert
Joined: 03 Aug 2003 Posts: 281
|
Posted: Sat Aug 13, 2005 8:57 pm Post subject: |
|
|
I don't have any of those remotes that use this DEV_xxx;SET_xxx_keys type device selections, though, IIUC, DEV_xxx commands work exactly the same as X_xxx in many other extenders, and using SET_yyy_keys sets the current xxx to the specified key set yyy. DEV_Cancel works the exact same way as X_Cancel. So, DEV_Cancel followed by SET_TRANS_KEYS makes the transport key device invalid.
Hal |
|
Back to top |
|
|
ElizabethD Advanced Member
Joined: 09 Feb 2004 Posts: 2348
|
Posted: Sat Aug 13, 2005 9:31 pm Post subject: |
|
|
I'm cancelling Dev_Audio for setting the volume keys, not my DVD
Didn't think it would take the house down.
Darn, you're right. A simple reordering just worked and I get exactly what I wanted:
Code: | DVD =DEV_DVD;Phantom1;XSHIFT-Phantom1
SHIFT-Phantom1 =DEV_AUD;SET_VOL_KEYS;Dev_Cancel
XSHIFT-Phantom1 =SET_TRANS_KEYS;SHIFT-Phantom1 |
But now I'm really confused.
I just remembered something. John Fine once explained how a nested macro doesn't know about the calling device - perhaps that's related? |
|
Back to top |
|
|
mtakahar Expert
Joined: 03 Aug 2003 Posts: 281
|
Posted: Sat Aug 13, 2005 9:46 pm Post subject: |
|
|
ElizabethD wrote: | I'm cancelling Dev_Audio for setting the volume keys, not my DVD. |
That's impossible. The extender can remember only one DEV_xxx. It forgets what it was as soon as you use another DEV_xxx, including DEV_Cancel. DEV_DVD is no longer in effect as soon as you call DEV_AUDIO, then DEV_Cancel overwrites DEV_AUDIO.
What is not getting overwritten by another DEV_xxx command is the device associated to each key set that will stay as they are until you call another SET_xxx_KEYS command.
Hal |
|
Back to top |
|
|
ElizabethD Advanced Member
Joined: 09 Feb 2004 Posts: 2348
|
Posted: Sun Aug 14, 2005 3:50 pm Post subject: |
|
|
Yipes
Thanks Hal for the super-refresher. These basic concepts dropped out of my brain like a rock since I built 8910. BTW 7800 just has keysets, none of this dev_xxx stuff. |
|
Back to top |
|
|
|