most useful for meeting-seat-fillers, like me a few jobs ago

This commit is contained in:
adam 2023-05-22 23:42:18 -04:00
parent 053ee984d9
commit a0b2721444

11
powershell/jiggle.ps1 Normal file
View 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
}