|
|
|
The following page was printed from RemoteCentral.com:
PEP2 question (and hello)
| |
|
Topic: | PEP2 question (and hello) This thread has 6 replies. Displaying all posts. |
|
Post 1 made on Saturday April 18, 2009 at 11:47 |
bdc Long Time Member |
Joined: Posts: | April 2009 14 |
|
|
Hi everyone, I've been lurking around for several weeks and thought I'd now introduce myself, also I have a lingering question regarding PEP2 methodology.
As I understood it, one of the big things of PEP2 was separating out the component definitions and user interface definitions, to make code re-use easier and projects that much more modular. I'm new to this, so I never really used PEP1, but I know that linking was removed due to this new approach.
However, I'm wondering if I'm missing something fundamental in the way I've been using PEP2, because I still find that I can't do what I need without creating hidden codepages, and referencing them from the prontoscript, and I thought that practice was part of what PEP2 was attempting to avoid. It comes about because there are just certain things that as far as I can tell from the documentation, cannot be done in script, all related to manipulation of action lists. Sure, I can executeActions() on an existing list, but since that list must be defined in the UI and can't be done programmatically, I end up with hidden codepages to store otherwise unused buttons to define these actionlists.
So in a nutshell, am I missing something fundamental to avoid doing this?
Sorry that was so longwinded, I hope I made some sense -- I may have no reason to be concerned, but I do want to make sure that the foundation of my project isn't doing something that is poor practice in PEP2.
|
|
Post 2 made on Sunday April 19, 2009 at 20:00 |
bodshal Long Time Member |
Joined: Posts: | January 2009 16 |
|
|
On April 18, 2009 at 11:47, bdc said...
So in a nutshell, am I missing something fundamental to avoid doing this? You're not missing anything. :) Chris.
|
|
Post 3 made on Sunday April 19, 2009 at 21:45 |
Peter Dewildt Loyal Member |
Joined: Posts: | July 2001 6,307 |
|
|
That is what you are supposed to do.
|
Peter Pronto 1000 (retired), Pronto TSU7000, RFX6000 (retired) Pronto 2xTSU9600, RFX9400 |
|
Post 4 made on Wednesday April 22, 2009 at 15:23 |
This is something I've been wondering about since I've been trying to learn more about scripting so I figure I'd ask here without starting a thread. Your answers are clear but I'd like to confirm/ask the following: If I want to call a macro through executeActions can I use action list that is under "Activity properties-Actions tab" under device? Or I need to create a button-widget and store this macro in it? Thanks, D
|
|
Post 5 made on Wednesday April 22, 2009 at 17:16 |
Lyndel McGee RC Moderator |
Joined: Posts: | August 2001 13,007 |
|
|
No, you call an Activity action list using a widget that has an action list that contains an ActivityJump.
And, next time, please start a new thread as your question is a good one but now, unfortunately, has become unsearchable. :)
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|
Post 6 made on Wednesday April 22, 2009 at 18:39 |
On April 22, 2009 at 17:16, Lyndel McGee said...
No, you call an Activity action list using a widget that has an action list that contains an ActivityJump. Got it. And, next time, please start a new thread as your question is a good one but now, unfortunately, has become unsearchable. :) And got it, sounds good. Thanks
|
|
Post 7 made on Wednesday April 22, 2009 at 20:40 |
Lyndel McGee RC Moderator |
Joined: Posts: | August 2001 13,007 |
|
|
You are welcome. :)
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|
|
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.
|
|