Announcement

Collapse
No announcement yet.

Value not equal to in a script - help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    In a simple script, yes.
    Things can get complex when you attempt to use some of the dot net constructs. The best thing is to get your feet wet and wade in slowly.
    When you get into trouble... Google, or ask someone here. After a while, it becomes more natural.
    BTW: VB scripts are compiled and retained in memory by HS, so run a bit faster after the first time.
    Real courage is not securing your Wi-Fi network.

    Comment


      #17
      Originally posted by Wadenut View Post
      In a simple script, yes.
      Things can get complex when you attempt to use some of the dot net constructs. The best thing is to get your feet wet and wade in slowly.
      When you get into trouble... Google, or ask someone here. After a while, it becomes more natural.
      BTW: VB scripts are compiled and retained in memory by HS, so run a bit faster after the first time.
      Thanks.

      I am changing the above script just now, but will not test it till tomorrow as it is late here.

      I asume the line
      Code:
      hs.SetDeviceString ("v3"),"Changed " & Date & " " & Time
      becomes
      Code:
      hs.SetDeviceString ("v3"),("Changed " & Date & " " & Time)
      No?
      sigpic
      A founder member of "The HA Pioneer Group" otherwise known as the "Old farts club!"

      Comment


        #18
        Originally posted by Gogs View Post
        Thanks.

        I am changing the above script just now, but will not test it till tomorrow as it is late here.

        I asume the line
        Code:
        hs.SetDeviceString ("v3"),"Changed " & Date & " " & Time
        becomes
        Code:
        hs.SetDeviceString ("v3"),("Changed " & Date & " " & Time)
        No?
        Close:
        hs.SetDeviceString ("v3","Changed " & Date & " " & Time)
        Real courage is not securing your Wi-Fi network.

        Comment

        Working...
        X