Add repeat-last-reply.ps1

This commit is contained in:
Markus Fleschutz
2021-12-06 18:48:32 +01:00
parent 1383261c68
commit bdde4f31df
25 changed files with 57 additions and 47 deletions

View File

@ -20,8 +20,7 @@ try {
for ([int]$i = 0; $i -lt $percent; $i += 2) {
$obj.SendKeys([char]174) # each tick is -2%
}
"🔉️ -$($percent)%"
& "$PSScriptRoot/speak-english.ps1" "$percent percent less volume"
& "$PSScriptRoot/give-reply.ps1" "$($percent)% less volume"
exit 0 # success
} catch {
"⚠️ Error: $($Error[0]) ($($MyInvocation.MyCommand.Name):$($_.InvocationInfo.ScriptLineNumber))"