Announcement

Collapse
No announcement yet.

Save to ini file how ?

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

    Save to ini file how ?

    I have an ini file like this

    [prio]
    plates=

    what script can i use that it puts my virtual device his string into my ini file ?

    like my vitrualdevice string contains : 22fgpl and i want that a script saves it under:

    Plates.ini

    [prio]
    Plates=22fgpl

    is that possible ?


    regards
    Preferred -> Jon's Plugins, Pushover, Phlocation, Easy-trigger,
    Rfxcom, Blade Plugins, Pushbullet, homekit, Malosa Scripts




    HS3Pro 4.0.8.0 on windows 10 enterprise X64 on hp quadcore laptop 8 GB.

    #2
    hs.saveinisetting - http://www.homeseer.com/support/home...inisetting.htm

    Comment


      #3
      After you determine the value, assign it to a script variable ["plates_value" in the example below], then save to the ini file using this:

      hs.SaveINISetting("prio", "plates", plates_value, "Plates.ini")

      You can find more info by searching the HS3 help file for hs.SaveINISetting
      Fred

      HomeSeer Pro 3.0.0.548, HS3Touch, Zwave 3.0.1.252, Envisalink DSC 3.0.0.40, WeatherXML, Z-stick, HS phone, Way2Call

      Comment


        #4
        THanks guys !



        Originally posted by ITguyHS View Post
        After you determine the value, assign it to a script variable ["plates_value" in the example below], then save to the ini file using this:

        hs.SaveINISetting("prio", "plates", plates_value, "Plates.ini")

        You can find more info by searching the HS3 help file for hs.SaveINISetting
        Preferred -> Jon's Plugins, Pushover, Phlocation, Easy-trigger,
        Rfxcom, Blade Plugins, Pushbullet, homekit, Malosa Scripts




        HS3Pro 4.0.8.0 on windows 10 enterprise X64 on hp quadcore laptop 8 GB.

        Comment

        Working...
        X