Hi, I am new at VBscripting and would need your assistance to complete the following project/script:
It will help me to learn some basics and avoid hours of search + trial & error.
Objective: Use a virtual slider to send a set of IRcodes via BLUSBUIRT plugin to control an amplifier volume
would you mind helping out finalize the script (set parameter, VOLx correct format, etc.)
Your help is much appreciated,

Sub Main(ByVal Parms as String)
hs.PluginFunction("BLUSBUIRT", "", "SendIR", New Object(){"ATON","VOLx"})
End Sub
It will help me to learn some basics and avoid hours of search + trial & error.
Objective: Use a virtual slider to send a set of IRcodes via BLUSBUIRT plugin to control an amplifier volume
- I have a set of 12 Infrared codes (volume presets) under the BLUSBUIRT plugin . they all work when triggered manually
- The 12 Infrared codes are named VOL0 to VOL11 and the device (amplifier) is named "ATON"
- A virtual slider has been configured with a range of 0-11, Device 1629 (works ok)
- An event has been added to run a script whenever the value of device 1629 changes (works ok)
- The script should simply use the new device 1629 value and trigger the appropriate infrared code (VOLx) via the BLUSBUIRT plugin.
would you mind helping out finalize the script (set parameter, VOLx correct format, etc.)
Your help is much appreciated,
Sub Main(ByVal Parms as String)
hs.PluginFunction("BLUSBUIRT", "", "SendIR", New Object(){"ATON","VOLx"})
End Sub
Comment