mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-28 20:58:46 +02:00
Improve speak-checklist.ps1
This commit is contained in:
parent
3aefa27e03
commit
3db6eaacfc
@ -13,11 +13,12 @@ try {
|
|||||||
clear-host
|
clear-host
|
||||||
$Step = 1
|
$Step = 1
|
||||||
foreach($Line in $Lines) {
|
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"
|
"($Step) $Line"
|
||||||
& "$PSScriptRoot/speak-english.ps1" "$Line"
|
& "$PSScriptRoot/speak-english.ps1" "$Line"
|
||||||
$Dummy = read-host "Press <Return> to continue ..."
|
$Dummy = read-host " Say <Check> or press <Return> to continue"
|
||||||
$Step++
|
$Step++
|
||||||
}
|
}
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user