10 lines
247 B
PowerShell
10 lines
247 B
PowerShell
|
# 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
|
||
|
}
|