Page 1 of 1

Trouble with Macro on Power button.

Posted: Sat Sep 15, 2007 11:11 am
by Evan_s
I'm trying to setup a lkp on my power button so that on a normal Keypress it just does the normal power for that device but on a Long keypess does a all off macro.

It seems to sorta be working. If I'm on the tv device it seems to work but doesn't work on other devices.

I'm not sure if I'm missing something simple or if it's a bug in the 1025 extender but it looks to me like it should be working.

https://www.hifi-remote.com/forums/dload ... le_id=5029

Posted: Sat Sep 15, 2007 11:37 am
by Capn Trips
If it works in TV but not in others, it would appear that the X_TV command leading off your sequence may not be doing what you expect.

In general, it's easiest to troubleshoot by breaking down your Macro/LKP sequence into smaller bits, and testing each one, combining them sequentially, until it breaks.

Like put your short press as a macro on a real button somewhere, and your long sequence on a real button somewhere, test each individually, then build the LKP calling on the two macros, then have a macro calling the LKP, then move the original macros to phantoms or xshifted buttons or whatever.

Since you have plenty of memory, try building a separate identical LKP (wihout the X_Cancel command at the start of the short side) on each device's POWER button and see if THAT works, then we would know that vicky has to look at the X_TV function.

Or try putting the LKP that is called from the macro on a different button - maybe even a real button - just to test if it's a problem of the xSihft-EXIT button identification or something.

Posted: Tue Sep 18, 2007 10:06 pm
by Evan_s
Well I figured it out and I was missing something simple. I had created a keymove on the power button for cable to turn the tv on and off instead of the cable box. That was causing it to use the keymove instead of the macro when on the cable device. Once I realized the issue was only with the cable device I quickly figured out my problem. I removed the keymove on the cable power key and ended up adding it back as shift power so that when my macro on the power button calls shift power from the short side of the LKP on the cable device it still turns off the tv like expected. On all the other devices it just uses the shift cloaking to turn that device on or off as expected.