Page 1 of 1

Best way to create LKP macro for all devices?

Posted: Wed Apr 28, 2004 11:15 am
by Eiffel
I recently installed the 15 2116 ex2 on my remotes, and am wondering if there is an elegant way (memory efficient) to set some buttons to perform LKP/DKP macros calling device specific functions.

For instance,

I have set my TV device so that pressing 1..9 selects channels, and shift 1..5 selects an input.

I've also done the same thing with my receiver and a few other devices (the others do not have shifted roles defined for the number keys)

Rather than defining device specific LKP macros, I'm wondering if it is possible to define a global macro on each number key that will in effect call the regular or shifted function of the current device... I tried a few approaches, but it didn't work as desired.

Thanks for your ideas

Eiffel

Posted: Wed Apr 28, 2004 2:19 pm
by e34m5
The problem you will encounter is that macros are global so that every time you press the key that's what will execute instead of the default fucntion for that Device/Key combination.

You could create DSM's for those keys if you do not intend to us them for their default behavior.

OR

You can define a generic macro which can then be called in the short portion of a LKP and this would look like the default behavior.

For instance I created a macro in the Power key that calls Phantom3. Then for each device a created a KEYMOVE Phantom3 that has for the short portion SHIFT-POWER this way whatever device has been selected previuosly pressing short on the Power key behaves like a normal Power command.

On the long I have code that turns off all the equipment.

Hope this helps...