Announcement

Collapse
No announcement yet.

onvert a script command to immediate command

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

    onvert a script command to immediate command

    I have a script which one command I am using is this:

    hs.SaveINISetting("MyVariables", "HeatingSchedule","Morning", IniFile)

    I have a few events where I just need to run this command. But instead of creating a full script, can I do this with an immediate script command instead ? What would the equivalent be ?

    #2
    &hs.SaveINISetting("MyVariables", "HeatingSchedule","Morning", "your ini file name")
    Jon

    Comment


      #3
      That's very easy. Does that work with any hs.xxx command in that way , just adding a & in front ?
      Last edited by mikee123; November 14, 2016, 05:05 AM.

      Comment


        #4
        Yes and there are two methods:

        &hs.xxxxxxx (which uses VBScript)
        &nhs.xxxxxxx (which uses VB.NET)
        Jon

        Comment

        Working...
        X