mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-10 05:17:44 +02:00
Change to use speak-english.ps1
This commit is contained in:
@ -17,10 +17,10 @@ param([int]$StartNumber = 10)
|
||||
|
||||
try {
|
||||
for ([int]$i = $StartNumber; $i -gt 0; $i--) {
|
||||
& "$PSScriptRoot/give-reply.ps1" $i
|
||||
& "$PSScriptRoot/speak-english.ps1" $i
|
||||
start-sleep -milliseconds 200
|
||||
}
|
||||
& "$PSScriptRoot/give-reply.ps1" "zero"
|
||||
& "$PSScriptRoot/speak-english.ps1" "zero"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
Reference in New Issue
Block a user