mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-23 05:01:37 +01:00
Improve speak-checklist.ps1
This commit is contained in:
parent
3aefa27e03
commit
3db6eaacfc
@ -13,11 +13,12 @@ try {
|
||||
clear-host
|
||||
$Step = 1
|
||||
foreach($Line in $Lines) {
|
||||
if ($Line -like "HEAD*") { & "$PSScriptRoot/write-big.ps1" "$Line"; continue }
|
||||
|
||||
if ($Line -like "HEAD*") { & "$PSScriptRoot/write-big.ps1" "$($Line.substring(5))"; continue }
|
||||
|
||||
""
|
||||
"($Step) $Line"
|
||||
& "$PSScriptRoot/speak-english.ps1" "$Line"
|
||||
$Dummy = read-host "Press <Return> to continue ..."
|
||||
$Dummy = read-host " Say <Check> or press <Return> to continue"
|
||||
$Step++
|
||||
}
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user