Announcement

Collapse
No announcement yet.

Starting speakers on startup

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

    Starting speakers on startup

    With HS2 I used to start the speakers using the following lines in the Startup.script.

    Will they work with HS3, or how could I do it.

    Code:
    if not hs.IsApplicationRunning("Speaker") then
    lRet = hs.Launch(hs.GetAppPath & "\speaker.exe","Livingroom",,1)
    'hs.waitSecs 60
    'lRet = hs.Launch(hs.GetAppPath & "\speaker.exe","Kitchen",,1)
    hs.waitsecs 60
    lRet = hs.Launch(hs.GetAppPath & "\speaker.exe","Bedroom",,1)
    end if
    sigpic
    A founder member of "The HA Pioneer Group" otherwise known as the "Old farts club!"

    #2
    Hi Gordon,

    Yes, that should still work the same. The 1 at the end could likely be changed to a 0 so that it runs with Normal priority, rather than Above Normal.

    Cheers
    Al
    HS 4.2.8.0: 2134 Devices 1252 Events
    Z-Wave 3.0.10.0: 133 Nodes on one Z-Net

    Comment


      #3
      Originally posted by sparkman View Post
      Hi Gordon,

      Yes, that should still work the same. The 1 at the end could likely be changed to a 0 so that it runs with Normal priority, rather than Above Normal.

      Cheers
      Al
      Thanks for that. I'll try it when I get back home this weekend.
      sigpic
      A founder member of "The HA Pioneer Group" otherwise known as the "Old farts club!"

      Comment

      Working...
      X