mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-07-06 13:13:50 -05:00
Remove All Trailing Whitespace Characters in '.ps1' Files
This commit is contained in:
@ -49,7 +49,7 @@ Function Get-WinUtilToggleStatus {
|
||||
else{
|
||||
return $false
|
||||
}
|
||||
}
|
||||
}
|
||||
if($ToggleSwitch -eq "WPFToggleShowExt"){
|
||||
$hideextvalue = (Get-ItemProperty -path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced').HideFileExt
|
||||
if($hideextvalue -eq 0){
|
||||
@ -58,7 +58,7 @@ Function Get-WinUtilToggleStatus {
|
||||
else{
|
||||
return $false
|
||||
}
|
||||
}
|
||||
}
|
||||
if($ToggleSwitch -eq "WPFToggleSnapWindow"){
|
||||
$hidesnap = (Get-ItemProperty -path 'HKCU:\Control Panel\Desktop').WindowArrangementActive
|
||||
if($hidesnap -eq 0){
|
||||
@ -76,7 +76,7 @@ Function Get-WinUtilToggleStatus {
|
||||
else{
|
||||
return $true
|
||||
}
|
||||
}
|
||||
}
|
||||
if($ToggleSwitch -eq "WPFToggleSnapSuggestion"){
|
||||
$hidesnap = (Get-ItemProperty -path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced').SnapAssist
|
||||
if($hidesnap -eq 0){
|
||||
@ -85,7 +85,7 @@ Function Get-WinUtilToggleStatus {
|
||||
else{
|
||||
return $true
|
||||
}
|
||||
}
|
||||
}
|
||||
if($ToggleSwitch -eq "WPFToggleMouseAcceleration"){
|
||||
$MouseSpeed = (Get-ItemProperty -path 'HKCU:\Control Panel\Mouse').MouseSpeed
|
||||
$MouseThreshold1 = (Get-ItemProperty -path 'HKCU:\Control Panel\Mouse').MouseThreshold1
|
||||
|
Reference in New Issue
Block a user