rename some of the internal classes

RecorderMode class added to Recorder

RunMacrobuttons() and CloseMacrobuttons() added to Special (Command)
This commit is contained in:
2023-08-12 01:40:29 +01:00
parent 5bda43131b
commit bee52b6541
7 changed files with 79 additions and 49 deletions

View File

@@ -1,4 +1,5 @@
. $PSScriptRoot\meta.ps1
. $PSScriptRoot\inst.ps1
class Special {
Special () {
@@ -26,6 +27,14 @@ class Special {
}
}
[void] RunMacrobuttons() {
Start-Process -FilePath $(Join-Path -Path $(Get_VMPath) -ChildPath "VoicemeeterMacroButtons.exe")
}
[void] CloseMacrobuttons() {
Stop-Process -Name "VoicemeeterMacroButtons"
}
hidden $_hide = $($this | Add-Member ScriptProperty 'hide' `
{
$this._hide = $this.Setter('show', $false)