Browse Source

Added Escape button to skip choosing items for Show-Menu

pull/625/head
Dmitry Nefedov 12 months ago
parent
commit
c8552515f4
  1. 2
      src/Sophia_Script_for_Windows_10/Module/Sophia.psm1
  2. 2
      src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1
  3. 2
      src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1
  4. 2
      src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1
  5. 2
      src/Sophia_Script_for_Windows_11/Module/Sophia.psm1
  6. 2
      src/Sophia_Script_for_Windows_11_LTSC_2024/Module/Sophia.psm1
  7. 2
      src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1

2
src/Sophia_Script_for_Windows_10/Module/Sophia.psm1

@ -1020,7 +1020,7 @@ public extern static string BrandingFormatString(string sFormat);
} }
} }
} }
while ($Key.Key -ne [ConsoleKey]::Enter) while ($Key.Key -notin ([ConsoleKey]::Escape, [ConsoleKey]::Enter))
} }
# Extract the localized "Browse" string from shell32.dll # Extract the localized "Browse" string from shell32.dll

2
src/Sophia_Script_for_Windows_10_LTSC_2019/Module/Sophia.psm1

@ -976,7 +976,7 @@ public extern static string BrandingFormatString(string sFormat);
} }
} }
} }
while ($Key.Key -ne [ConsoleKey]::Enter) while ($Key.Key -notin ([ConsoleKey]::Escape, [ConsoleKey]::Enter))
} }
# Extract the localized "Browse" string from shell32.dll # Extract the localized "Browse" string from shell32.dll

2
src/Sophia_Script_for_Windows_10_LTSC_2021/Module/Sophia.psm1

@ -976,7 +976,7 @@ public extern static string BrandingFormatString(string sFormat);
} }
} }
} }
while ($Key.Key -ne [ConsoleKey]::Enter) while ($Key.Key -notin ([ConsoleKey]::Escape, [ConsoleKey]::Enter))
} }
# Extract the localized "Browse" string from shell32.dll # Extract the localized "Browse" string from shell32.dll

2
src/Sophia_Script_for_Windows_10_PowerShell_7/Module/Sophia.psm1

@ -1052,7 +1052,7 @@ public extern static string BrandingFormatString(string sFormat);
} }
} }
} }
while ($Key.Key -ne [ConsoleKey]::Enter) while ($Key.Key -notin ([ConsoleKey]::Escape, [ConsoleKey]::Enter))
} }
# Extract the localized "Browse" string from shell32.dll # Extract the localized "Browse" string from shell32.dll

2
src/Sophia_Script_for_Windows_11/Module/Sophia.psm1

@ -995,7 +995,7 @@ public extern static string BrandingFormatString(string sFormat);
} }
} }
} }
while ($Key.Key -ne [ConsoleKey]::Enter) while ($Key.Key -notin ([ConsoleKey]::Escape, [ConsoleKey]::Enter))
} }
# Extract the localized "Browse" string from shell32.dll # Extract the localized "Browse" string from shell32.dll

2
src/Sophia_Script_for_Windows_11_LTSC_2024/Module/Sophia.psm1

@ -976,7 +976,7 @@ public extern static string BrandingFormatString(string sFormat);
} }
} }
} }
while ($Key.Key -ne [ConsoleKey]::Enter) while ($Key.Key -notin ([ConsoleKey]::Escape, [ConsoleKey]::Enter))
} }
# Extract the localized "Browse" string from shell32.dll # Extract the localized "Browse" string from shell32.dll

2
src/Sophia_Script_for_Windows_11_PowerShell_7/Module/Sophia.psm1

@ -1027,7 +1027,7 @@ public extern static string BrandingFormatString(string sFormat);
} }
} }
} }
while ($Key.Key -ne [ConsoleKey]::Enter) while ($Key.Key -notin ([ConsoleKey]::Escape, [ConsoleKey]::Enter))
} }
# Extract the localized "Browse" string from shell32.dll # Extract the localized "Browse" string from shell32.dll

Loading…
Cancel
Save