@ -207,7 +207,6 @@ if (-not ("WinAPI.ForegroundWindow" -as [type]))
Add-Type@SetForegroundWindow
Add-Type@SetForegroundWindow
}
}
# The function doesn't work in Windows 11 any more
Get-Process-Nameexplorer|Where-Object-FilterScript{$_.MainWindowTitle-match"Sophia Script for Windows $([System.Environment]::OSVersion.Version.Major)"}|ForEach-Object-Process{
Get-Process-Nameexplorer|Where-Object-FilterScript{$_.MainWindowTitle-match"Sophia Script for Windows $([System.Environment]::OSVersion.Version.Major)"}|ForEach-Object-Process{