Untitled
while ($true) { Write-Host "Simulating key press..." [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms") [System.Windows.Forms.SendKeys]::SendWait('^') Start-Sleep -Seconds 120 # Sleep for 2 minutes }
while ($true) { Write-Host "Simulating key press..." [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms") [System.Windows.Forms.SendKeys]::SendWait('^') Start-Sleep -Seconds 120 # Sleep for 2 minutes }