most useful for meeting-seat-fillers, like me a few jobs ago
This commit is contained in:
parent
053ee984d9
commit
a0b2721444
11
powershell/jiggle.ps1
Normal file
11
powershell/jiggle.ps1
Normal file
@ -0,0 +1,11 @@
|
||||
Add-Type -AssemblyName System.Windows.Forms
|
||||
|
||||
while ($true){
|
||||
$Pos = [System.Windows.Forms.Cursor]::Position
|
||||
$x = (get-random -minimum 0 -maximum 3840)
|
||||
$y = (get-random -minimum 0 -maximum 2160)
|
||||
[System.WIndows.Forms.Cursor]::Position = New-Object System.Drawing.Point($x, $y)
|
||||
Write-Host "$x, $y"
|
||||
get-date -DisplayHint time
|
||||
start-sleep -Seconds 90
|
||||
}
|
Loading…
Reference in New Issue
Block a user