Hello,
I have a question about using macros. I own a 7950. When I assign a macro to a special key the macro function will be executed regardless of the mode selected (SAT, DVD, VCR...). But is it possible that a special button (e.g. "exit") in the SAT-mode is a macro-function and a "normal" button in the DVD-mode?
TimL
Question about Macros
Moderator: Moderators
-
vickyg2003
- Site Admin
- Posts: 7109
- Joined: Sat Mar 20, 2004 12:19 pm
- Location: Florida
- Contact:
In most JP1 remotes, a keymove trumps a Macro. Most remotes looks for a key assignment first learned, then Keymoves, then macros.
Code: Select all
If learned
do learned
else
if kemove
do keymove
else
if macro
do macro
else
do key from setup
endif
endif
endif
Last edited by vickyg2003 on Sun Mar 30, 2008 3:37 pm, edited 1 time in total.
-
The Robman
- Site Owner
- Posts: 21946
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
Macros being global is how they were designed. The quick and easy way to override this, where you don't even need JP1, is to re-program the button, in the modes where you don't want the macro to execute, using either learning or keymoves.
So in your case, you could re-program the EXIT button to operate the DVD's "clear" function by either using the advanced code for "clear" or by learning the function from the DVD player's original remote.
In the JP1 world, we have a special protocol called DSM ("Device Specific Macro") which lets you program a macro that only operates in one mode.
So in your case, you could re-program the EXIT button to operate the DVD's "clear" function by either using the advanced code for "clear" or by learning the function from the DVD player's original remote.
In the JP1 world, we have a special protocol called DSM ("Device Specific Macro") which lets you program a macro that only operates in one mode.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
-
underquark
- Expert
- Posts: 874
- Joined: Mon Jun 20, 2005 4:58 am
- Location: UK
-
The Robman
- Site Owner
- Posts: 21946
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
The DSM is a "special protocol" which can be found in the Special Protocols spreadsheet:
https://www.hifi-remote.com/forums/dload ... le_id=1768
However, there are a couple of values in the generated protocol that change based on the selected remote, so somebody would need to determine the values for the URC-7950.
https://www.hifi-remote.com/forums/dload ... le_id=1768
However, there are a couple of values in the generated protocol that change based on the selected remote, so somebody would need to determine the values for the URC-7950.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!