|
|
|
URC's Consumer Remotes Forum - View Post
|
|
|
|
|
|
|
The following page was printed from RemoteCentral.com:
Topic: | Complex macro question This thread has 7 replies. Displaying all posts. |
|
Post 1 made on Monday September 5, 2005 at 00:19 |
I'm trying to give the "play" button for my Adelphia DVR subtly differnt functions depending on the button that was previously pressed. The function I'm looking for is:
Play after stop - play Play after pause - play Play after FFWD - Play, replay, replay Play after RRWD - Play, skip
Even better would be to be able to detect how many times FFWD or RRWD were pressed and vary the number of replay or skip commands play will issue.
I have a very weak version of this functionality working using a variable mode for play that uses RWD to set a variable to 1 - then skips if that variable is set, and replays if it is not. Clearly this isn't ideal because if you pause then play, it actually replays after the play.
Any thoughts on how I can do this? Is there anyway to create variable with values other than 1 and 0. If so, anyway to make a button more clever than just a binary choice?
Thanks in advance.
Ian
|
|
Post 2 made on Monday September 5, 2005 at 06:42 |
André du Fresne Founding Member |
Joined: Posts: | April 2002 783 |
|
|
Ian, which remote do you have? A MX-3000? André
|
TSU-9600, URC MX-3000, ProntoProNG TSU-7000 |
|
Post 3 made on Monday September 5, 2005 at 09:28 |
triple B Active Member |
Joined: Posts: | June 2004 648 |
|
|
Obviously you have either a 3000 or a 950 if you are using variables. You can get more complex than binary descision making, however you just have to stack the variables up.
So in your request, you would want to use 3 variables, one for FFWD, one for RWND, and a third for Stop and Pause (since they both will perform the same function, just a single play press afterward).
3 Variables (Suggestions only, name then what you want)
FFWD RRWD STP/PSE
Set your button macros up to include the following, along with the IR commands you need for your DVR.
PLAY {PLAY IR} IF FFWD=1 THEN {REPLAY IR} IF FFWD=1 THEN {REPLAY IR} IF RRWD=1 THEN {SKIP IR} Set FFWD = 0 Set RRWD = 0 Set STP/PSE = 0
STOP {STOP IR} Set FFWD = 0 Set RRWD = 0 Set STP/PSE = 1
PAUSE {PAUSE IR} Set FFWD = 0 Set RRWD = 0 Set STP/PSE = 1
FFWD {FFWD IR} Set FFWD = 1 Set RRWD = 0 Set STP/PSE = 0
RRWD {RRWD IR} Set FFWD = 0 Set RRWD = 1 Set STP/PSE = 0
This way whatever the last button you pressed was, will be the only variable set to 1, then the play button will only pick the commands specific to that variable. In the case of STOP or PAUSE, nothing but the {PLAY IR} executes. For FFWD, it will do the {PLAY IR} followed by two {REPLAY IR} commands. Then it sets all 3 variables back to 0 so they dont get used again without pressing the FFWD or the RRWD buttons first.
I hope this helped, please let me know if you have any questions.
-3B
|
Author of DMX-3000, Disc Managing Software for the MX-3000 Touchscreen http://www.triplebsoftware.com/ |
|
OP | Post 4 made on Monday September 5, 2005 at 12:43 |
Thanks 3B, very helpful. And yes I do have an MX3000. The thing I haven't figured out is how to code the IF statement. In the MX3000 editor I have the variable mode for a macro, but where is the IF statement?
Ian
|
|
Post 5 made on Monday September 5, 2005 at 13:07 |
André du Fresne Founding Member |
Joined: Posts: | April 2002 783 |
|
|
Ian, I have made a rough rcc for your purpose. The trick is to take one "IF...THEN" per macro and the combine as many macros as needed. If you wish, I can send you the file. André
|
TSU-9600, URC MX-3000, ProntoProNG TSU-7000 |
|
OP | Post 6 made on Tuesday September 6, 2005 at 14:25 |
|
Post 7 made on Tuesday September 6, 2005 at 18:52 |
hiker Long Time Member |
Joined: Posts: | January 2005 440 |
|
|
André, please send me the file also as it would be good to see your technique. For email address, click on View Profile above. Thanks
|
|
Post 8 made on Tuesday September 6, 2005 at 19:15 |
André du Fresne Founding Member |
Joined: Posts: | April 2002 783 |
|
|
You've got mail.
|
TSU-9600, URC MX-3000, ProntoProNG TSU-7000 |
|
|
Before you can reply to a message... |
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now. |
Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.
|
|
|
|