GetPropertyValue("System Time.Time") returns the value correctly.
GetPropertyValue("MyDevice.MyTimeProperty") returns *error*. MyTimeProperty is set to a specific, non-Stock Value.
Osler
VBScript GetPropertyValue for Time-Based Property Not Workin
Re: VBScript GetPropertyValue for Time-Based Property Not Workin
I wasn't able to reproduce this problem. I added a user definable time Property to a Null Device and set it to a variety of different time types. Running the script from a Task seems to return the correct value.
What am I doing different?
What am I doing different?
Scott
Re: VBScript GetPropertyValue for Time-Based Property Not Workin
I was using a script device. I worked around it by setting the property to alpha-numeric and then converting the system time to a string to make the comparison.
Osler
Osler