Sleep Time
Posted: Sat Oct 08, 2011 2:13 am
VB sripts section is locked so I post here.
I use sleep timer for same timed task and I want to use one of this for two task becouse of optimization.
On startup I want to read value "Sleep Time" to remember current state, then write some different value in it, run somtimes and then write those stored number into it.
Problem is when i I read GetPropertyValue ("TimerReload.Sleep Time") I got just two digit value 1:4 for example when first digit is days, hour or minutes which value is first greater then 0 and second is seconds velue.
When I try write in this form it works:
SetPropertyValue "TimerReload.Sleep Time", "Days=0, Hours=00, Minutes=00, Seconds=05, MilliSeconds=0"
but I want to load on previus state so I must get this kind of data from read?
I use sleep timer for same timed task and I want to use one of this for two task becouse of optimization.
On startup I want to read value "Sleep Time" to remember current state, then write some different value in it, run somtimes and then write those stored number into it.
Problem is when i I read GetPropertyValue ("TimerReload.Sleep Time") I got just two digit value 1:4 for example when first digit is days, hour or minutes which value is first greater then 0 and second is seconds velue.
When I try write in this form it works:
SetPropertyValue "TimerReload.Sleep Time", "Days=0, Hours=00, Minutes=00, Seconds=05, MilliSeconds=0"
but I want to load on previus state so I must get this kind of data from read?