I hope someone can give some hints to translate it to Autohotkey:
Code: Select all
add-type -Path "BusylightSDK.dll"
$BusylightDevice = New-Object -TypeName Busylight.sdk
$BusylightDevice
# gives some Information
$Color = New-Object -TypeName Busylight.BusylightColor
$Color.BlueRGBValue= 255
$BusylightDevice.Light($Color)
# Glows Blue
$SDK = New-Object -TypeName Busylight.SDK
$SDK.Blink(25,100,0,10,10)
# blinking
$SDK.Blink(0,0,0,0,0)
#off
$clip = New-Object -TypeName Busylight.BusylightJingleClip
$SDK.Jingle(10,250,30,$clip,50)
# Blinking and playing a short jingle, but I think its not the correct way to use it because BusylightJingleClip is an Enum