PS-Commands/Scripts/Get-AltTab.ps1
2023-10-03 22:02:33 +03:00

7 lines
No EOL
134 B
PowerShell

function Get-AltTab {
$wshell = New-Object -ComObject wscript.shell
$wshell.SendKeys("%{Tab}")
sleep 120
Get-AltTab
}
Get-AltTab