 |
 |
|
|
Philips Pronto Professional Forum - View Post
|
|
 |
|
4/16/13 - "Harmony Ultimate" hybrid touchscreen and "Harmony Smart Control" models join the ranks.
4/15/13 - Convenient $150 hard buttoned remote for use with Apple iPhone or iPad-based control systems.
1/24/13 - Disappointing Q3 earnings due to flagging global PC market to blame.
12/31/12 - Our thanks to everyone who has helped make Remote Central a great community for the past year!
12/25/12 - Got a new remote? Want a new remote? Explore Remote Central's resources!
|
|
 |
|
The following page was printed from RemoteCentral.com:
| Topic: | action questions This thread has 3 replies. Displaying all posts. |
|
| Post 1 made on Friday June 22, 2012 at 08:51 |
Fischi Junior Member |
Joined: Posts: | January 2011 34 |
|
|
Hi, I created a script for an action which is watching the status changing of a Homeseer device. It works very good. My Prontos play a .wav file when a specific device (eg E7) changes a specific status (eg ON/OFF). A want this action to run in every other action of the Pronto, I mean that the Pronto could play this .wav file after the device status of E7 has changed at every currently running action (eg TV, DVD, weather...) . Is this possible also when the Pronto is sleeping and how to do this in detail ?
Regards, Fischi
|
|
| Post 2 made on Sunday June 24, 2012 at 12:33 |
Lyndel McGee RC Moderator |
Joined: Posts: | August 2001 11,540 |
|
|
In theory it is possible for every action but you will have to modify all your activities/pages to have the Homeseer monitor script in place. If using PEP2, I would suggest putting your script into a library and then activating it on the activities.
Now, while pronto is sleeping is another issue. There have been discussions on this (search for 55 seconds and I think you will find hits). It may in theory be possible to do this but I would not recommend it unless your remote is docked 100% of the time. When docked, scripts continue to run and you would have no issues.
When not docked, the CPU shuts down and only wakes up around every 55-57 seconds to keep WIFI active. If, by chance your script gets a chance to run during that time, then the WAV play would happen. If not, then it won't.
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|
| OP | Post 3 made on Tuesday June 26, 2012 at 11:32 |
Fischi Junior Member |
Joined: Posts: | January 2011 34 |
|
|
Thanks, Lyndel
I'm still working on my Homeseer project. I use the script CF.activity().label = "ERROR" to change the activity name (eg TV) to ERROR if a Homeseer specific Homeseer device is triggered. Now I also want to change the color of the label "ERROR". I tried CF.activity().color and CF.activity().bgcolor , but this doesn't go. Is it possible to change the Color of the word ERROR and the background for this ? If currently no error exists, the Pronto will show the current activity name in the upper left corner (white color). Regards, Fischi
|
|
| Post 4 made on Tuesday June 26, 2012 at 20:53 |
Lyndel McGee RC Moderator |
Joined: Posts: | August 2001 11,540 |
|
|
See appendix D of the Dev Guide for pre-defined tags. Unfortunately, the activity label is not one of them. So, you will likely not be able to change this via script. If a tag were available, you'd be able to get to it ONLY by using GUI.widget(). That being said, your only option to programmatically change colors may be able to put a label on each of your pages over the existing System Widget and set the name in each page to whatever is the contents of CF.activity().label. Once you have your own widget, you can do what you like.
Note that you can likely change colors by editing the item in PEP2/3 on the system page but this will not work from script.
I also have a thread here somewhere that discusses the differences between GUI.widget and CF.widget. Might come in handy down the road for you.
|
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.
|
|
|
|
|