KB-27284: Starting a SetPoint with the current time/date.

Question:

How can I configure a SetPoint to be opened with the current time?
 
Solution:

To do so, you must create a script in the setpoint’s OnStartRunning event, and attribute to its Value property the metod Now (VBScript), which returns the current date/time.

Example:

Sub Text1_OnStartRunning()
    Value = Now
End Sub

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *