Page 1 of 1

Using substitution strings with time

Posted: Tue Jan 18, 2005 6:58 pm
by ceejm1
I am trying to compare a time property (with no seconds) with the system time within a task,by setting the value of the property in the condition to %%System Time.Time Without Seconds%% but it keeps throwing back an error.



I am using it control a heating system so I'd rather set the various on/off times on my device rather than edit tasks.



Any ideas or other options greatfully received.



Cheers



James

Posted: Tue Jan 18, 2005 9:26 pm
by ScottBot
Unfortunately you can't use property value substitution in Task comparisons. It's a frequently requested and desperately needed addition.



Another option would be to test it in a script.

Posted: Wed Jan 19, 2005 1:01 pm
by ceejm1
Thats a shame.



Any plans to add it in the near future?



James

Posted: Thu Jan 20, 2005 10:47 am
by ScottBot
You're in luck.



This is such a useful feature, that I'm adding it now. Look for it in the next release.

Posted: Thu Jan 20, 2005 1:40 pm
by ceejm1
Good News!



When do you think that would be? and how would I go about obtaining it?



James

Posted: Thu Jan 20, 2005 2:06 pm
by ScottBot
It will be released here on the site to everyone. If you subscribe to this thread, you should be notified when it is available.



When it will actually be available, I really don't know. Sometime soon I hope.