Dmitry Nefedov
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
Download_Sophia.ps1
|
@ -143,7 +143,7 @@ if (-not ("WinAPI.ForegroundWindow" -as [type])) |
|
|
Add-Type @SetForegroundWindow |
|
|
Add-Type @SetForegroundWindow |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Get-Process- Name explorer | Where-Object -FilterScript {$_.MainWindowTitle -match "Sophia Script v"} | ForEach-Object -Process { |
|
|
Get-Process -Name explorer | Where-Object -FilterScript {$_.MainWindowTitle -match "Sophia Script v"} | ForEach-Object -Process { |
|
|
# Show window, if minimized |
|
|
# Show window, if minimized |
|
|
[WinAPI.ForegroundWindow]::ShowWindowAsync($_.MainWindowHandle, 5) |
|
|
[WinAPI.ForegroundWindow]::ShowWindowAsync($_.MainWindowHandle, 5) |
|
|
|
|
|
|
|
|