diff --git a/powershell/keys.ps1 b/powershell/keys.ps1 new file mode 100644 index 0000000..9b3d9b8 --- /dev/null +++ b/powershell/keys.ps1 @@ -0,0 +1,9 @@ +# Press Ctrl key between 15-30 seconds random interval +Add-Type -AssemblyName System.Windows.Forms + +while ($true) +{ + [System.Windows.Forms.SendKeys]::SendWait("^") + $seconds = Get-Random -Minimum 15 -Maximum 30 + Start-Sleep -Seconds $seconds +}