The following page was printed from RemoteCentral.com:
Delay between actions, can I modify them...
Delay between actions, can I modify them all together?
This thread has 4 replies. Displaying all posts.
|Post 1 made on Friday September 7, 2018 at 10:23|
I want to make macro's with a delay between the functions. Now what I want is to change the delay for all these delay actions together.
Is there a possibility to create afterwards changable delays?
I tried to add a 'dummy' remote from which I use the "General delay" between 2 IR functions. Unfortunately, when I change the "general delay" value in this dummy remote, the delays in my macro's aren't updated with the new value.
I can select more than 1 delay in a macro and change them together, but if I have 100 macro's it would be still al lot of work.
With my older Pronto's I had some buttons with only a delay and used shortcut's to them, but in PEPv2/3 that isn't possible I guess.
So if anyone has a smart solution for this I would like to know.
|OP | Post 2 made on Friday September 7, 2018 at 11:21|
I created a dummy function with the RC5 code 5000 0000 0000 0001 0000 0000 and use the minimum duration as delay time.
Is this solution too ugly?
|Post 3 made on Saturday September 8, 2018 at 12:03|
The General Delay only works between Keypad digits and was put there for the purpose of Channel Macros which expand into multiple actions when you download to the remote (PEP2 only - PEP1 simply created all the actions for you si you could see what it did).
For this to work, I believe that the Functions in the Component must be named (Case sensitive)
I have seen Philips Database devices with function names like the above.
However, in most of my components, I followed the OnlyOneRemote naming scheme of
So I don't know if channel macros in PEP2 will insert proper delay as I used all uppercase and as PEP2 does not create the actions for you to review, you cannot check.
Here's my suggestion which is more work but allows you to 'tweak' timings once you are done. Requires version of PEP2/PEP3 supporting Reusable Macros or PEP1 which support Links natviely.
You normally don't need to add delays except on duplicate keys (I believe Channel Macro adds a delay between all actions plus supports a starting and ending action). I've never employed the use of Channel Macros as I found them too restrictive as in PEP1, you would have to delete all actions and then create again.
As a result, I'd build my own action lists and build in a configurable delay as needed.
1. In 'Reusable Macros', create a category named 'Delays'.
2. In the 'Delays' category, put in a macro named 'Delay Duplicate Digits' and put a single Delay action of say 0.1s
3. In the same category, put in a macro named 'Delay Small' and put a single Delay action of say 0.25s
4. In the same category, put in a macro named 'Delay Medium' and put a single Delay action of say 0.5s
5. In the same category, put in a macro named 'Delay Large' and put a single Delay action of say 1s
Now, when you are adding digits and building channel buttons, when you find a duplicate digit, for example channel 993, create your macro by using the actions
IR Function 'Digit 9'
Link to 'Delay Duplicate Digits'
IR Function 'Digit 9'
IR Function 'Digit 3'
Link to 'Delay Smaller' (Optional)
IR Function 'Cursor Enter'
Using this approach, you can experiment with the actual time you need between digits by changing the duration of the 'Delay' in the macro 'Delay Duplicate Digits'
I don't currently have pages with channel icons in my Pronto but if I were going to add them, I'd use ProntoScript to accomplish the same behavior.
If interested in seeing how this might work, email me (address on my RC Profile) a small configuration with a single Activity containing 2 pages. One page with channel icon buttons where you set the ProntoScript Name to the channel you want. Another page that is hidden that has a keypad with all the buttons you'd press.
I'll then write a function that can be called from any Channel Icon button using the ProntoScript name of the button to select the channel that you like.
If in the Lower 48 US and want to discuss, include a phone number as well.
Philips Pronto Addict/Beta Tester
|Post 4 made on Saturday September 29, 2018 at 07:52|
Consider making a cableTune("CNN") function. Now, the buttons that select a cable or satellite channel are independent of the "box", port, IP address, TV service and you can tweak all of the characteristics in one spot.
It's a bit of work to get it going, but worth the effort. Imagine a multi-room icon based approach where there there is a 4x5 matrix of icons, four or five tabs across the top (News, Sports, Local, Movies, Kids), and each tab with two or three layers down (Movies1, Movies2, etc.). At first blush this sounds grotesque, but it is dirt simple for the user. Users learn to work with this scheme in a few seconds. Then imagine that the user changes TV services. This could be grotesque for the programmer, but in my scheme only cableTune() needs to be adjusted.
|OP | Post 5 made on Thursday October 11, 2018 at 05:36 |
Thank you both for giving such detailed instructions! I really enjoy my new/old Pronto and designing layout's.
||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
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.