mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2026-04-09 17:33:33 +00:00
storepreset, recallpreset
pester tests pass for all kinds manual tests pass for all kinds - show/hide - lock/unlock - showvbanchat/hidevbanchat
This commit is contained in:
@@ -40,6 +40,34 @@ class Special : IRemote {
|
||||
[void] Save ([string]$filename) {
|
||||
$this.Setter('save', $filename)
|
||||
}
|
||||
|
||||
[void] StorePreset () {
|
||||
$this.Setter('updatepreset', '')
|
||||
}
|
||||
|
||||
[void] StorePreset ([string]$name) {
|
||||
$this.Setter('updatepreset', $name)
|
||||
}
|
||||
|
||||
[void] StorePreset ([int]$index) {
|
||||
$this.Setter('preset[{0}].store' -f $index, '')
|
||||
}
|
||||
|
||||
[void] StorePreset ([int]$index, [string]$name) {
|
||||
$this.Setter('preset[{0}].store' -f $index, $name)
|
||||
}
|
||||
|
||||
[void] RecallPreset () {
|
||||
$this.Setter('recallpreset', '')
|
||||
}
|
||||
|
||||
[void] RecallPreset ([string]$name) {
|
||||
$this.Setter('recallpreset', $name)
|
||||
}
|
||||
|
||||
[void] RecallPreset ([int]$index) {
|
||||
$this.Setter('preset[{0}].recall' -f $index, 1)
|
||||
}
|
||||
}
|
||||
|
||||
function Make_Command([Object]$remote) {
|
||||
|
||||
Reference in New Issue
Block a user