I'm trying to create a theme that has a time property that I'd like to increment/decrement by :30 minute intervals if a button is pressed. I've tried all kinds of combinations for the button's property change value (+= Minutes=30, +=:30, %Object.Property% + Minutes=30, +=1800, etc.), but can't seem to get it right. Is there a way I can do this? Am I using incorrect syntax?
Thanks.
Incrementing a time veriable
-
- Member
- Posts: 71
- Joined: Thu Jul 03, 2003 8:53 am
- Location: Raleigh, NC
- Contact:
The += and -= operators used in setting the "Value" on a button control only work with straight numeric values.
To do this, you may need to write a simple VB Script using the "Script Device". The button on the remote will set the State of the Script Device to Running. This will start the script where you will have more control over setting the Property Value using VB.
Scott
To do this, you may need to write a simple VB Script using the "Script Device". The button on the remote will set the State of the Script Device to Running. This will start the script where you will have more control over setting the Property Value using VB.
Scott