For reasons still unknown, Dragon regularly crashes on my computer. It does not crash “cleanly,” requiring me to use control + alt + delete and kill running processes in the task manager, including VC.
This is annoying and requires far too many keystrokes, so I’ve created a Powershell script to kill and restart both programs.
$processes = Get-Process
Foreach ($process in $processes) {
if ( $process.Name -eq "natspeak" ) {
Stop-Process -Name $process.Name
}
}
Foreach ($process in $processes) {
if ( $process.Name -eq "VP" ) {
Stop-Process -Name $process.Name
}
}
Start-Sleep -Seconds 5
& "C:\Program Files (x86)\VoiceTeach\VoiceComputer\scripts\VoiceComputer.exe"
I place this in a folder on my data drive, and then I point a shortcut to it like this:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File "W:\datafiles.k\powershell scripts\killVCandDragon.ps1"