Improved the scripts

This commit is contained in:
Markus Fleschutz
2021-02-10 19:25:48 +01:00
parent 47459e0139
commit 60eb59b52a
20 changed files with 26 additions and 23 deletions

View File

@ -13,7 +13,7 @@ try {
for ([int]$i = 0; $i -lt $Percent; $i += 2) {
$obj.SendKeys([char]174) # each tick is -2%
}
write-output "OK"
write-host -foregroundColor green "Done."
exit 0
} catch {
write-error "ERROR in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"