Announcement

Collapse
No announcement yet.

Is it possible to turn volume up or down in a script? - Solution

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

    Is it possible to turn volume up or down in a script? - Solution

    I'd like to be able to adjust the volume either up or down from HS touch is there a way to do this?

    Thanks

    #2
    Here is turning volume down:

    First parameter is controller number, second is zone number

    Code:
    hs.PluginFunction("BLRussound", "", "VolumeDown", {1,1})
    Here is setting volume:

    First parameter is controller number, second is zone number, third is volume level

    Code:
    hs.PluginFunction("BLRussound", "", "SetZoneVolume", {1,1,40})
    Cheers,
    Bob
    Web site | Help Desk | Feature Requests | Message Board

    Comment


      #3
      This is working:

      Sub Main(ByVal Parms As Object)

      hs.PluginFunction("BLRussound", "", "VolumeUp", New Object(){1,6})

      End Sub

      saved as .vb

      Thanks!

      Comment

      Working...
      X