Task triggers
Posted: Sat Jul 07, 2007 8:36 am
Scott,
Attached a screenshot of a task I had running, but found to behave wrong.
The task seems to trigger not only on the Running equal to No part, but also when the Action Property changes. So when the Action property gets changed while the timer is not running, this task will fire. Is this a bug or a feature? I think it would be more logical when a task only fires when condition statement properties change.
I created a photo panel in my theme. A script is handling all of the features like photo selections, slideshow etc etc. When the slideshow is started, the script sets the Running state of the picture timer to yes. This timer is set by a slider on my theme panel. Everytime the timer resets, this task is supposed to trigger and tell my script via the Action property that it should display the next slide. All of that works fine, but this task also fired while the timer was not running (thus having Running is No) and a theme button was pressed putting a value in the Action property.
I worked around this by also switching the Repeat is Yes or No in the script and expanding the task with an And on this Repeat Value as well.
Does this make any sense?
Attached a screenshot of a task I had running, but found to behave wrong.
The task seems to trigger not only on the Running equal to No part, but also when the Action Property changes. So when the Action property gets changed while the timer is not running, this task will fire. Is this a bug or a feature? I think it would be more logical when a task only fires when condition statement properties change.
I created a photo panel in my theme. A script is handling all of the features like photo selections, slideshow etc etc. When the slideshow is started, the script sets the Running state of the picture timer to yes. This timer is set by a slider on my theme panel. Everytime the timer resets, this task is supposed to trigger and tell my script via the Action property that it should display the next slide. All of that works fine, but this task also fired while the timer was not running (thus having Running is No) and a theme button was pressed putting a value in the Action property.
I worked around this by also switching the Repeat is Yes or No in the script and expanding the task with an And on this Repeat Value as well.
Does this make any sense?