voicemeeter-api-powershell/examples/set_multi.ps1
onyx-and-iris 14eb019202 update to examples
moved examples into examples/ directory.

Added two simple examples showing set and get float parameters and set multiple parameters.
2021-04-30 16:28:39 +01:00

29 lines
577 B
PowerShell

Import-Module Voicemeeter
try {
$vmr = Get-RemotePotato
$hash = @{
"Strip[0].Mute" = $true
"Strip[1].Mute" = $true
"Strip[2].Mute" = $false
"Strip[0].Mono" = $true
"Strip[1].Mono" = $false
"Strip[2].Mono" = $true
}
$vmr.Set_Multi($hash)
$hash = @{
"Strip[0].Mute" = $false
"Strip[1].Mute" = $false
"Strip[2].Mute" = $false
"Strip[0].Mono" = $true
"Strip[1].Mono" = $true
"Strip[2].Mono" = $false
}
$vmr.Set_Multi($hash)
}
finally { $vmr.Logout() }