keys.ps1
This commit is contained in:
parent
e0011c3b04
commit
cad5515b7e
9
powershell/keys.ps1
Normal file
9
powershell/keys.ps1
Normal file
@ -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
|
||||
}
|
Loading…
Reference in New Issue
Block a user