mirror of
https://github.com/onyx-and-iris/voicemeeter-api-powershell.git
synced 2026-01-24 17:27:48 +00:00
rename input variable
This commit is contained in:
parent
3d87f5c03f
commit
0e552873f0
@ -96,9 +96,9 @@ function Start-VoicemeeterCLI {
|
|||||||
)
|
)
|
||||||
|
|
||||||
Write-Host "Connected to Voicemeeter. Type 'Q' to quit." -ForegroundColor Green
|
Write-Host "Connected to Voicemeeter. Type 'Q' to quit." -ForegroundColor Green
|
||||||
while (($input = Read-Host "command") -ne 'Q') {
|
while (($CommandFromInput = Read-Host 'command') -ne 'Q') {
|
||||||
try {
|
try {
|
||||||
Invoke-VoicemeeterCLICommand -vmr $vmr -Command $input
|
Invoke-VoicemeeterCLICommand -vmr $vmr -Command $CommandFromInput
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
Write-Host "Error: $_" -ForegroundColor Red
|
Write-Host "Error: $_" -ForegroundColor Red
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user