mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2026-04-18 13:33:31 +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:
20
README.md
20
README.md
@@ -431,21 +431,31 @@ The following methods are available:
|
||||
- Reset(): Reset all config
|
||||
- Save($filepath): string
|
||||
- Load($filepath): string
|
||||
- StorePreset($index, $name): (int, string)
|
||||
- RecallPreset($index or $name): (int or string)
|
||||
- RunMacrobuttons(): Launches the macrobuttons app
|
||||
- CloseMacrobuttons(): Closes the macrobuttons app
|
||||
|
||||
example:
|
||||
|
||||
```powershell
|
||||
$vmr.command.show()
|
||||
|
||||
$vmr.command.lock()
|
||||
|
||||
$vmr.command.Show()
|
||||
$vmr.command.Lock()
|
||||
$vmr.command.Load("path/to/filename.xml")
|
||||
|
||||
$vmr.command.RunMacrobuttons()
|
||||
|
||||
$vmr.command.StorePreset(63, 'example')
|
||||
$vmr.command.StorePreset('example')
|
||||
$vmr.command.StorePreset(63) # same as StorePreset(63, '')
|
||||
$vmr.command.StorePreset() # same as StorePreset(''), overwrites last recalled
|
||||
|
||||
$vmr.command.RecallPreset('example')
|
||||
$vmr.command.RecallPreset(63)
|
||||
$vmr.command.RecallPreset() # same as RecallPreset(''), recalls last recalled
|
||||
```
|
||||
|
||||
StorePreset('') and RecallPreset('') interact with the 'selected' preset. This is highlighted green in the GUI. Recalling a preset selects it. Storing a preset via GUI also selects it. Storing a preset with StorePreset does not select it.
|
||||
|
||||
### Fx
|
||||
|
||||
The following Fx commands are available:
|
||||
|
||||
Reference in New Issue
Block a user